Main Content
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
tril
function to produce lower triangular matrices for whichistril
returns logical1
(true
).The functions
isdiag
,istriu
, andistril
are 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)
.
Extended Capabilities
Version History
Introduced in R2014a