- cupy.tril(m, k=0)#
Returns a lower triangle of an array.
m (array-like) – Array or array-like object.
k (int) – The diagonal above which to zero elements. Zero is the main diagonal, a positive value is above it, and a negative value is below.
A lower triangle of an array.
- Return type