Vector.Reverse Into<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> ReverseInto<T>(
Vector<T> vector,
Vector<T>? result = null
)
Parameters
- vector Vector<T>
- The vector whose elements to reverse.
- result Vector<T> (Optional)
- The vector that is to hold the result. May be null.
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. |