Sparse Compressed Column Matrix<T>.From Matrix Method
Constructs a sparse matrix from a matrix.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A SparseCompressedColumnMatrix<T> copy of matrix.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static SparseCompressedColumnMatrix<T> FromMatrix(
Matrix<T> matrix
)
Parameters
Return Value
SparseCompressedColumnMatrix<T>A SparseCompressedColumnMatrix<T> copy of matrix.