Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the Aasen decomposition of a Hermitian matrix
ResourceFunction["AasenDecomposition"][m] yields the Aasen decomposition of a matrix m. |
Find the Aasen decomposition of a symmetric matrix:
In[1]:= | ![]() |
Out[1]= | ![]() |
View the results in matrix form:
In[2]:= | ![]() |
Out[2]= | ![]() |
Verify the decomposition:
In[3]:= | ![]() |
Out[3]= | ![]() |
A symmetric indefinite matrix:
In[4]:= | ![]() |
Out[4]= | ![]() |
Compute the Aasen decomposition with exact arithmetic:
In[5]:= | ![]() |
Out[5]= | ![]() |
Compute the Aasen decomposition with machine arithmetic:
In[6]:= | ![]() |
Out[6]= | ![]() |
Compute the Aasen decomposition with 24-digit precision arithmetic:
In[7]:= | ![]() |
Out[7]= | ![]() |
Generate a pseudorandom Hermitian matrix drawn from the Gaussian unitary ensemble:
In[8]:= | ![]() |
Out[8]= | ![]() |
Compute its Aasen decomposition:
In[9]:= | ![]() |
Out[9]= | ![]() |
Verify the decomposition:
In[10]:= | ![]() |
Out[10]= | ![]() |
Compute the Aasen decomposition of a symbolic matrix:
In[11]:= | ![]() |
Out[11]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License