Click or drag to resize

CreateMatrixWithStorageT Method

Create a new matrix straight from an initialized matrix storage instance. If you have an instance of a discrete storage type instead, use their direct methods instead.

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

Parameters

storage  MatrixStorageT
The storage.

Type Parameters

T
The element type of the matrix.

Return Value

MatrixT
A matrix using the provided storage.
See Also