Click or drag to resize

CreateVectorDenseOfEnumerableT Method

Create a new dense vector as a copy of the given enumerable. This new vector will be independent from the enumerable. A new memory block will be allocated for storing the vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static Vector<T> DenseOfEnumerable<T>(
	IEnumerable<T> enumerable
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

enumerable  IEnumerableT
The sequence of values to copy.

Type Parameters

T
The element type of the vector.

Return Value

VectorT
The created vector.
See Also