Constructs a new sparse matrix.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
public static SingleSparseCompressedColumnMatrix CreateSparse(
int rowCount,
int columnCount,
int nonzeroCount
)
Public Shared Function CreateSparse (
rowCount As Integer,
columnCount As Integer,
nonzeroCount As Integer
) As SingleSparseCompressedColumnMatrix
public:
static SingleSparseCompressedColumnMatrix^ CreateSparse(
int rowCount,
int columnCount,
int nonzeroCount
)
static member CreateSparse :
rowCount : int *
columnCount : int *
nonzeroCount : int -> SingleSparseCompressedColumnMatrix
Parameters
- rowCount
- Type: SystemInt32
- columnCount
- Type: SystemInt32
The number of columns. - nonzeroCount
- Type: SystemInt32
The expected number of nonzero components.
Return Value
Type:
SingleSparseCompressedColumnMatrixA
SingleSparseCompressedColumnMatrix.
Exception | Condition |
---|
ArgumentOutOfRangeException | RowCount is less than zero. -or- columnCount is less than zero. -or- nonzeroCount is less than zero. |
Numerical Libraries
Supported in: 5.x, 4.x
Reference