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);
The function call "Vectors.reverse(v)
" returns the
vector elements in reverse order.
reverse({1,2,3,4}); // = {4,3,2,1}
v |
Type: Real[:] Description: Real vector |
---|
result |
Type: Real[size(v, 1)] Description: Elements of vector v in reversed order |
---|