Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
A paclet for linear algebra
Contributed by: Peter Burbery
This is for linear algebra.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["PeterBurbery/NewLinearAlgebraPaclet"]
To load the code after installation, evaluate this code:
Needs["PeterBurbery`NewLinearAlgebraPaclet`"]
Generate an Ulam matrix:
| In[1]:= |
| Out[1]= | ![]() |
Get the antidiagonal of the Ulam matrix:
| In[2]:= |
| Out[2]= |
Make pyramid matrices:
| In[3]:= |
| Out[3]= | ![]() |
Detriangularize a lower-triangularized pyramid matrix:
To get a lower-triangularized or upper-triangularized matrix, use the functions LowerTriangularize and UpperTriangularize, respectively. The matrix that you triangularize should be symmetric:
| In[4]:= |
| Out[4]= | ![]() |
| In[5]:= |
| Out[5]= |
| In[6]:= |
| Out[6]= | ![]() |
| In[7]:= |
| Out[7]= | ![]() |
We have recovered the original matrix:
| In[8]:= |
| Out[8]= |
Wolfram Language Version 13.3
BSD 3-Clause "New" or "Revised" License