property array.mT: array

Transpose of a matrix (or a stack of matrices).

If an array instance has fewer than two dimensions, an error should be raised.


out (array) – array whose last two dimensions (axes) are permuted in reverse order relative to original array (i.e., for an array instance having shape (..., M, N), the returned array must have shape (..., N, M)). The returned array must have the same data type as the original array.