rotate edit page

rotate a tensor by a list of rotations

Description

\[T_{rst} = T_{ijk} R_{ri} R_{sj} R_{tk}\]

Syntax

T = rotate(T,R,varargin)

Input

T tensor
R rotation or rotation matrix or a list of them

Output

T rotated tensor