SparseMatrix Constructor (Int32, Int32, Int32)
|
Creates a new sparse matrix with given size.
Namespace:
FinMath.LinearAlgebra
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public SparseMatrix(
int rows,
int columns,
int numberOfNonZeros
)
Parameters
- rows
- Type: SystemInt32
Number of rows in the matrix.
- columns
- Type: SystemInt32
Number of columns in the matrix.
- numberOfNonZeros
- Type: SystemInt32
The estimated number of non-zero elements in this matrix. This value is used
only to pre-allocate internal storage.
See Also