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