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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
VectorTThe created vector.
See Also