Description Usage Arguments Details Value Author(s) Examples
Reverses the order of an Armadillo Vector
1 | reverse_vec(x)
|
x |
A |
Consider a vector x=[1,2,3,4,5], the function would output x=[5,4,3,2,1].
x A column vector
with its contents reversed.
JJB
1 2 | x = 1:5
reverse_vec(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.