Constructs a new symmetric sparse matrix.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static SparseCompressedColumnMatrix<T> CreateSparseSymmetric<T>(
int dimension,
int nonzeroCount
)
Public Shared Function CreateSparseSymmetric(Of T) (
dimension As Integer,
nonzeroCount As Integer
) As SparseCompressedColumnMatrix(Of T)
public:
generic<typename T>
static SparseCompressedColumnMatrix<T>^ CreateSparseSymmetric(
int dimension,
int nonzeroCount
)
static member CreateSparseSymmetric :
dimension : int *
nonzeroCount : int -> SparseCompressedColumnMatrix<'T>
Parameters
- dimension
- Type: SystemInt32
The number of rows and columns. - nonzeroCount
- Type: SystemInt32
The expected number of nonzero elements.
Type Parameters
- T
Return Value
Type:
SparseCompressedColumnMatrixTA
SparseCompressedColumnMatrixT.
Reference