overloads cumprod(q)
computes the cumulative product along the first non-singleton dimension of q.
Syntax
q = cumprod(q)
q = cumprod(q,dim)
q = cumprod(q,dim,'reverse','omitnan')Input
| q | quaternion |
Output
| q | quaternion |
Flags
| 'reverse' | use the reverse direction, from end to beginning |
| 'omitmissing' / 'omitnan' | NaN values are ignored (they are treated as identity quaternions) |