reverseReverse vector elements (e.g., v[1] becomes last element) |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Vectors.reverse(v);
Vectors.reverse(v)
" returns the complex vector elements in reverse order.
reverse({1,2,3,4}); // = {4,3,2,1}
v |
Type: Complex[:] Description: Vector |
---|
result |
Type: Complex[size(v, 1)] Description: Elements of vector v in reversed order |
---|