Click or drag to resize

SparseMatrixOfRowMajor Method

Create a new sparse matrix as a copy of the given enumerable. The enumerable is assumed to be in row-major order (row by row). This new matrix will be independent from the enumerable. A new memory block will be allocated for storing the vector.

Namespace: Altaxo.Calc.LinearAlgebra.Double
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static SparseMatrix OfRowMajor(
	int rows,
	int columns,
	IEnumerable<double> rowMajor
)

Parameters

rows  Int32

[Missing <param name="rows"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.OfRowMajor(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

columns  Int32

[Missing <param name="columns"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.OfRowMajor(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

rowMajor  IEnumerableDouble

[Missing <param name="rowMajor"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.OfRowMajor(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

Return Value

SparseMatrix

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.Double.SparseMatrix.OfRowMajor(System.Int32,System.Int32,System.Collections.Generic.IEnumerable{System.Double})"]

See Also