cupynumeric.tril_indices_from#
- cupynumeric.tril_indices_from( ) tuple[ndarray, ...] #
Return the indices for the lower-triangle of arr.
See
cupynumeric.tril_indices()
for full details.- Parameters:
arr (array_like) – The indices will be valid for arrays whose dimensions are the same as arr.
k (int, optional) – Diagonal offset (see
cupynumeric.tril()
for details).
- Returns:
inds – The indices for the lower-triangle. The returned tuple contains two arrays, each with the indices along one dimension of the array.
- Return type:
tuple of arrays
See also
Notes
- Availability:
Multiple GPUs, Multiple CPUs