Transpose

Command: Transpose


Description

Transpose gives the usual transpose of a matrix.
Acting on a tensor Tijkl... Transpose gives the tensor Tjikl...

Parameters


Author
Markus Diesmann July 9 2000
Bugs

protected for non-rectangular shapes by assert().
Transpose should raise
/NonRectangularShapeError error
and message
"The first two levels of the one-dimensional list cannot be transposed."
Synopsis

array Transpose -> array

References
[1] The Mathematica Book V4.0 "Transpose"
Examples

[ [3 4 5] [6 7 8] ] Transpose -> [[3 6] [4 7] [5 8]]

File
sli/sliarray.cc
FirstVersion