SparseCompressedColumnMatrix<T>.FromMatrix Method

Constructs a sparse matrix from a matrix.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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