MCPcopy Create free account
hub / github.com/dask/dask / trace

Method trace

dask/array/core.py:2608–2619  ·  view source on GitHub ↗

Return the sum along diagonals of the array. Refer to :func:`dask.array.trace` for full documentation. See Also -------- dask.array.trace : equivalent function

(self, offset=0, axis1=0, axis2=1, dtype=None)

Source from the content-addressed store, hash-verified

2606 )
2607
2608 def trace(self, offset=0, axis1=0, axis2=1, dtype=None):
2609 """Return the sum along diagonals of the array.
2610
2611 Refer to :func:`dask.array.trace` for full documentation.
2612
2613 See Also
2614 --------
2615 dask.array.trace : equivalent function
2616 """
2617 from dask.array.reductions import trace
2618
2619 return trace(self, offset=offset, axis1=axis1, axis2=axis2, dtype=dtype)
2620
2621 def prod(self, axis=None, dtype=None, keepdims=False, split_every=None, out=None):
2622 """Return the product of the array elements over the given axis

Callers 1

_assertFunction · 0.80

Calls 1

traceFunction · 0.90

Tested by 1

_assertFunction · 0.64