dask.array.Array.trace — Dask documentation (original) (raw)

dask.array.Array.trace

Array.trace(offset=0, axis1=0, axis2=1, dtype=None)[source]

Return the sum along diagonals of the array.

Refer to dask.array.trace() for full documentation.