Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
valarray::cshift
valarray<T> cshift(int n) const;
The member function returns an object of class valarray
<T>
, of length size
()
, each of whose elements I
is (*this)[(I + n) % size()]
. Thus, if element zero is taken as the leftmost element, a positive value of n
shifts the elements circularly left n
places.