|
  
trans
Format: trans( a, vector )
Arguments: [any] a Input matrix
(bool) vector Optional vector mode, false = don't
transpose vectors, true = do transpose;
default = true
Returns: [any] Transpose of the matrix a
Description: Trans swaps the columns and rows in the
input matrix.
Examples: trans([[1,2],[3,4]])
= [[1,3],[2,4]]
trans([1,2,3]) = [[1],[2],[3]]
trans([1,2,3],0) = [1,2,3]
trans([[1],[2],[3]]) = [1,2,3]
See Also: tableform,
determinant, Add, Subtract,
Multiply, Divide, Power
|