matrix_transpose¶
- xarray_einstats.linalg.matrix_transpose(da, dims=None)[source]¶
Transpose the underlying matrix without modifying the dimensions.
This convenience function uses
renamefollowed bytransposeto get the equivalent of a matrix transposition.- Parameters:
- da
xarray.DataArray Input DataArray
- dims
listofstr, optional Matrix dimensions
- da
- Returns:
xarray.DataArrayThe DataArray after transposing the matrix data but leaving the dimensions untouched.