cupynumeric.tril_indices_from#
- cupynumeric.tril_indices_from(
- arr: ndarray,
- k: int = 0,
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
numpy.tril_indices_fromNotes
- Availability:
Multiple GPUs, Multiple CPUs