Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

NewLinearAlgebraPaclet

Guides

  • Matrices

Symbols

  • AntidiagonallySymmetrizableMatrixQ
  • AntidiagonalMatrix
  • AntidiagonalMatrixQ
  • Antidiagonal
  • AntidiagonalTranspose
  • DesymmetrizedMatrix
  • DeTriangularizableMatrixQ
  • DeTriangularizeMatrix
  • HessianMatrix
  • JacobianMatrix
  • LeftArrowMatrix
  • LowerArrowMatrix
  • LowerRightTriangularize
  • LowerRightTriangularMatrixQ
  • MatrixSymmetrizability
  • PyramidMatrix
  • ReflectedDiagonalMatrix
  • RightArrowMatrix
  • TopArrowMatrix
  • UlamMatrix
  • UpperLeftTriangularize
  • UpperLeftTriangularMatrixQ
PeterBurbery`NewLinearAlgebraPaclet`
LowerRightTriangularize
​
LowerRightTriangularize
[matrix]
makes a triangular
matrix
with a triangle starting from the lower right.
​
​
LowerRightTriangularize
[matrix,antidiagonal]
makes a triangular
matrix
with a triangle starting from the lower right and with the
antidiagonal
specified by
antidiagonal
.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Lower right triangularize a matrix:
In[1]:=
MatrixForm@
LowerRightTriangularize

PyramidMatrix
[18]
Out[1]//MatrixForm=
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
9
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
8
8
8
8
7
6
5
4
3
2
1
0
0
0
0
0
0
7
7
7
7
7
7
6
5
4
3
2
1
0
0
0
0
0
6
6
6
6
6
6
6
6
5
4
3
2
1
0
0
0
0
5
5
5
5
5
5
5
5
5
5
4
3
2
1
0
0
0
4
4
4
4
4
4
4
4
4
4
4
4
3
2
1
0
0
3
3
3
3
3
3
3
3
3
3
3
3
3
3
2
1
0
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Here's a smaller example:
In[2]:=
MatrixForm@
LowerRightTriangularize

PyramidMatrix
[5]
Out[2]//MatrixForm=
0
0
0
0
1
0
0
0
2
1
0
0
3
2
1
0
2
2
2
1
1
1
1
1
1
Use a superantidiagonal:
In[3]:=
MatrixForm@
LowerRightTriangularize

PyramidMatrix
[5],1
Out[3]//MatrixForm=
0
0
0
0
0
0
0
0
0
1
0
0
0
2
1
0
0
2
2
1
0
1
1
1
1
Use a subantidiagonal:
In[4]:=
MatrixForm@
LowerRightTriangularize

PyramidMatrix
[5],-1
Out[4]//MatrixForm=
0
0
0
1
1
0
0
2
2
1
0
2
3
2
1
1
2
2
2
1
1
1
1
1
1
Here is an array plot:
In[5]:=
ArrayPlot
LowerRightTriangularize

PyramidMatrix
[100]
Out[5]=
Here's a matrix plot:
In[6]:=
MatrixPlot
LowerRightTriangularize

PyramidMatrix
[100]
Out[6]=
SeeAlso
UpperLeftTriangularize
 
▪
LowerTriangularize
 
▪
UpperTriangularize
 
▪
LowerTriangularMatrixQ
 
▪
UpperTriangularMatrixQ
 
▪
BlockLowerTriangularMatrix
 
▪
BlockUpperTriangularMatrix
RelatedGuides
▪
Matrices
RelatedLinks
▪
Beecrowd Programming Challenge 1186 Below the
Secundary
Diagonal
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com