blosc2.matrix_transpose# blosc2.matrix_transpose(arr: NDArray, **kwargs: Any) → NDArray# Transposes a matrix (or a stack of matrices). Parameters: arr¶ (NDArray) – The input NDArray having shape (..., M, N) and whose innermost two dimensions form MxN matrices. Returns: out – A new NDArray containing the transpose for each matrix and having shape (..., N, M). Return type: NDArray