LowerTriangularMatrixQ

LowerTriangularMatrixQ[m]

gives True if m is lower triangular, and False otherwise.

LowerTriangularMatrixQ[m,k]

gives True if m is lower triangular starting down from the k^(th) diagonal, and False otherwise.

Details and Options

Examples

open all close all

Basic Examples  (3)

Test if a matrix is lower triangular:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Test if a matrix is lower triangular starting from the first superdiagonal:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=
In[2]:=
Click for copyable input
Out[2]=

Test if a matrix is lower triangular starting from the first subdiagonal:

In[1]:=
Click for copyable input
Out[1]//MatrixForm=
In[2]:=
Click for copyable input
Out[2]=

Scope  (7)

Options  (1)

Applications  (2)

Properties & Relations  (9)

Introduced in 2019
(12.0)