trace¶
- xarray_einstats.linalg.trace(da, dims=None, *, offset=0, dtype=None, out=None, **kwargs)[source]¶
Wrap
numpy.trace
.Usage examples of all arguments is available at the Intro to the linear algebra module page.
- Parameters:
- da
xarray.DataArray
- dimssequence of hashable, optional
- offset
int
,default
0 - dtype
dtype
, optional - out
ndarray
, optional
- da
- Returns: