Vector<T> Implicit Conversion (T[] to Vector<T>)
Implicitly converts an array of T
to a Vector<T>.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A DenseVector<T> equivalent to values.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static implicit operator Vector<T>? (
T[] values
)
Parameters
- values T[]
- An array.
Return Value
Vector<T>A DenseVector<T> equivalent to values.
Remarks
The values array is used to store the array elements. Changing the elements of this array will change the elements of the vector.