mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2024-08-25 06:31:44 +02:00
![François](/assets/img/avatar_default.png)
that is smaller than the size of the Slater-matrix * Removed the Slater-matrix as an argument, since it is not used in the algo. * Added a manual 4x4 example to debug MaponiA3 to work with a number of updates that is smaller than the size of the Slater-matrix * Added a new Octave script to quickly check if the computes inverse is correct.
13 lines
308 B
Mathematica
13 lines
308 B
Mathematica
Sold = dlmread('Slater_old.dat');
|
|
Sold_inv = dlmread('Slater_old_inv.dat');
|
|
S = dlmread('Slater.dat');
|
|
S_inv = dlmread('Slater_inv.dat');
|
|
det(Sold*transpose(Sold_inv))
|
|
trace(Sold*transpose(Sold_inv))
|
|
norm(Sold*transpose(Sold_inv))
|
|
|
|
det(S*transpose(S_inv))
|
|
trace(S*transpose(S_inv))
|
|
norm(S*transpose(S_inv))
|
|
|