Click or drag to resize

CreateMatrixSparseOfArrayT Method

Create a new sparse matrix as a copy of the given two-dimensional array. This new matrix will be independent from the provided array. A new memory block will be allocated for storing the matrix.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Matrix<T> SparseOfArray<T>(
	T[,] array
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

array  T

[Missing <param name="array"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateMatrix.SparseOfArray``1(``0[0:,0:])"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateMatrix.SparseOfArray``1(``0[0:,0:])"]

Return Value

MatrixT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearAlgebra.CreateMatrix.SparseOfArray``1(``0[0:,0:])"]

See Also