SparseCompressedColumnMatrix<T>.FromMatrix Method

Constructs a sparse matrix from a matrix.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static SparseCompressedColumnMatrix<T> FromMatrix(
	Matrix<T> matrix
)

Parameters

matrix  Matrix<T>
A Matrix<T>

Return Value

SparseCompressedColumnMatrix<T>
A SparseCompressedColumnMatrix<T> copy of matrix.

See Also