Reverses the order of any 1D array.
Use any time you would like a 1D array in reverse order. Works with any data type.
menu: veeos ==> Math ==> arrayRev
library: mathLib
o_arrayRev( [1,2,3,4] ) returns [4,3,2,1]
o_arrayRev( ["first","second","last"] ) returns [ "last" , "second", "first" ]
If the input is scalar no change is made. If the input is Waveform or Spectrum the data array is reversed but the time or freq mapping is unaffected. This uses no loops so is fast.
VEE 7.0+, all platforms