# cupy.tril¶

cupy.tril(m, k=0)[source]

Returns a lower triangle of an array.

Parameters: 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. cupy.ndarray