Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)
2606
def
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_from
Function · 0.85
Calls
2
tri
Function · 0.90
nonzero
Function · 0.70
Tested by
no test coverage detected