rotate

(method of tensor)

rotate a tensor by a list of rotations

Description

Syntax

T = rotate(T,R,'param1',val1,'param2',val2)

Input

T

tensor

R

rotation or rotation matrix or a list of them

Output

T

rotated tensor