Vector.Reverse<T> Method
Returns a vector with the elements in reverse order.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
C#
A new vector with the elements of vector in reverse order.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
public static Vector<T> Reverse<T>(
Vector<T> vector
)
Parameters
- vector Vector<T>
- The vector whose elements to reverse.
Type Parameters
- T
- The type of the elements of the vector.
Return Value
Vector<T>A new vector with the elements of vector in reverse order.
Exceptions
Argument | vector is null. |