@sym
: permute (A, perm) ¶Permute the indices of a symbolic array.
Generalizes transpose, but currently doesn’t do much as we only support 2D symbolic arrays.
Example:
A = sym([1 2 pi; 4 5 6]); B = permute(A, [2 1]) ⇒ B = (sym 3×2 matrix) ⎡1 4⎤ ⎢ ⎥ ⎢2 5⎥ ⎢ ⎥ ⎣π 6⎦
See also: @sym/ipermute.
Package: symbolic