rotation_vec
Vector rotation.
Namespace: dsp
Prototype
Vector<T> rotation_vec(const Vector<T> &x, int d)
Parameters
x | Input column vector |
d | Integer number of steps (positive or negative) |
Returns
Data vector with rtation of \(d\) steps (modulo the vector dimension):