Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Construct a Fiedler matrix from a vector
ResourceFunction["FiedlerMatrix"][vec] gives the Fiedler matrix corresponding to the vector vec. |
Construct a Fiedler matrix:
| In[1]:= |
| Out[1]= | ![]() |
A function for the determinant of a Fiedler matrix:
| In[2]:= | ![]() |
Use it to compute the determinant:
| In[3]:= |
| Out[3]= |
Compare with the determinant computed using Det:
| In[4]:= |
| Out[4]= |
The inverse of a Fiedler matrix is cyclic tridiagonal (tridiagonal with extra elements in the upper right and lower left):
| In[5]:= |
| Out[5]= | ![]() |
Wolfram Language 12.3 (May 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License