istril
Determine if matrix is lower triangular
Syntax
Description
tf = istril( returns logical A)1
(true) if A is a lower triangular matrix.
Otherwise, it returns logical 0
(false).
Examples
Input Arguments
More About
Tips
Use the
trilfunction to produce lower triangular matrices for whichistrilreturns logical1(true).The functions
isdiag,istriu, andistrilare special cases of the functionisbanded, which can perform all of the same tests with suitably defined upper and lower bandwidths. For example,istril(A) == isbanded(A,size(A,1),0).