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

Function triu_indices

dask/array/routines.py:2606–2607  ·  view source on GitHub ↗
(n, k=0, m=None, chunks="auto")

Source from the content-addressed store, hash-verified

2604
2605@derived_from(np)
2606def triu_indices(n, k=0, m=None, chunks="auto"):
2607 return nonzero(~tri(n, m, k=k - 1, dtype=bool, chunks=chunks))
2608
2609
2610@derived_from(np)

Callers 1

triu_indices_fromFunction · 0.85

Calls 2

triFunction · 0.90
nonzeroFunction · 0.70

Tested by

no test coverage detected