Matrix.Create Sparse Symmetric<T>(Int 32, Double) Method
Constructs a new symmetric sparse matrix.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A SparseCompressedColumnMatrix<T>.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static SparseCompressedColumnMatrix<T> CreateSparseSymmetric<T>(
int dimension,
double fillFactor
)
Parameters
- dimension Int32
- The number of rows and columns.
- fillFactor Double
- A value between 0 and 1 that specifies the initial capacity of nonzero elements as a proportion of the total number of elements of the matrix.
Type Parameters
- T
Return Value
SparseCompressedColumnMatrix<T>A SparseCompressedColumnMatrix<T>.
Exceptions
Argument | dimension is less than zero. -or- fillFactor is less than or equal to zero or greater than 1. |