Click or drag to resize

CreateMatrixSparseOfMatrixArrayT Method

Create a new sparse matrix from a 2D array of existing matrices. The matrices in the array are not required to be sparse already. If the matrices do not align properly, they are placed on the top left corner of their cell with the remaining fields left zero.

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

Parameters

matrices  MatrixT
The 2D array of matrices.

Type Parameters

T
The element type of the matrix to create.

Return Value

MatrixT
A new sparse matrix.
See Also