| CompressedSparseRowT(T, Int32, Int32, Int32) Constructor |
Constructs a CompressedSparseRow instance from the given data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public CompressedSparseRow(
T[] values,
int[] columns,
int[] rowIndex,
int numCols
)
Public Sub New (
values As T(),
columns As Integer(),
rowIndex As Integer(),
numCols As Integer
)
public:
CompressedSparseRow(
array<T>^ values,
array<int>^ columns,
array<int>^ rowIndex,
int numCols
)
new :
values : 'T[] *
columns : int[] *
rowIndex : int[] *
numCols : int -> CompressedSparseRow
Parameters
- values T
- The non-zero matrix values.
- columns Int32
- The column indices.
- rowIndex Int32
- The row pointers.
- numCols Int32
- The number of columns in the matrix.
See Also