Click or drag to resize

MatrixMathToRODiagonalMatrixT Method

Wraps a read-only vector to a read-only diagonal matrix.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IROMatrix<T> ToRODiagonalMatrix<T>(
	IReadOnlyList<T> vector,
	int vectoroffset,
	int matrixdimensions
)
where T : struct, new()

Parameters

vector  IReadOnlyListT
The vector to wrap.
vectoroffset  Int32
The index of the vector that is the first matrix element(0,0).
matrixdimensions  Int32
The number of rows = number of columns of the diagonal matrix.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.MatrixMath.ToRODiagonalMatrix``1(System.Collections.Generic.IReadOnlyList{``0},System.Int32,System.Int32)"]

Return Value

IROMatrixT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.MatrixMath.ToRODiagonalMatrix``1(System.Collections.Generic.IReadOnlyList{``0},System.Int32,System.Int32)"]

See Also