linalg:transpose
(linalg:transpose array)
Returns the transpose of a matrix: element (i j) of the result is element (j i) of the input. Like numpy, a rank-1 vector is returned unchanged -- there is no distinct row/column vector representation. To turn a vector into a genuine 1-row or 1-column matrix, use linalg:reshape.