Click or drag to resize

MatrixBuilderTDiagonal(DiagonalMatrixStorageT) Method

Create a new diagonal matrix straight from an initialized matrix storage instance. The storage is used directly without copying. Intended for advanced scenarios where you're working directly with storage for performance or interop reasons.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract Matrix<T> Diagonal(
	DiagonalMatrixStorage<T> storage
)

Parameters

storage  DiagonalMatrixStorageT
The DiagonalMatrixStorage

Return Value

MatrixT
The created matrix.
See Also