Constructs a CompressedSparseRow instance from the given data.
Namespace:
CenterSpace.NMath.Matrix
Assembly:
NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public CompressedSparseRow(
T[] values,
int[] columns,
int[] rowIndex,
int numCols
) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _
values As T(), _
columns As Integer(), _
rowIndex As Integer(), _
numCols As Integer _
) |
| Visual C++ |
|---|
public:
CompressedSparseRow(
array<T>^ values,
array<int>^ columns,
array<int>^ rowIndex,
int numCols
) |
Parameters
- values
- Type: array<
T
>[]()[]
The non-zero matrix values.
- columns
- Type: array<
System..::.Int32
>[]()[]
The column indicis.
- rowIndex
- Type: array<
System..::.Int32
>[]()[]
The row pointers.
- numCols
- Type: System..::.Int32
The number of columns in the matrix.
See Also