Click or drag to resize

CreateVectorWithStorageT Method

Create a new vector 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 Vector<T> WithStorage<T>(
	VectorStorage<T> storage
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

storage  VectorStorageT
The storage backing the vector.

Type Parameters

T
The element type of the vector.

Return Value

VectorT
The created vector.
See Also