diff options
author | Illviljan <14371165+Illviljan@users.noreply.github.com> | 2021-01-11 22:31:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 22:31:20 +0100 |
commit | b038c35ff03d70780711be1116db53b1c72b224c (patch) | |
tree | 4d45f6fec2f97492806177b42e41633967f54de6 /numpy/lib/arraypad.py | |
parent | a190258d4e90f2a17a9469e5dd9fb5f4b045aa90 (diff) | |
download | numpy-b038c35ff03d70780711be1116db53b1c72b224c.tar.gz |
faster tril_indices
nonzero is slow. Use np.indices and np.broadcast_to to speed it up.
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions