mirror of
https://github.com/TREX-CoE/Sherman-Morrison.git
synced 2025-01-26 12:32:02 +01:00
fa61b50bb0
- Occasional code restyling with 'clang-formant --style=LLVM'.
22 lines
864 B
C++
22 lines
864 B
C++
// Sherman-Morrison-Woodbury kernel 1
|
|
// WB2, WB3, SM2 mixing scheme
|
|
void SMWB1(double *Slater_inv, const unsigned int Dim,
|
|
const unsigned int N_updates, double *Updates,
|
|
unsigned int *Updates_index);
|
|
|
|
// // Sherman-Morrison-Woodbury kernel 2
|
|
// // WB2, WB3, SM3 mixing scheme
|
|
// void SMWB2(double *Slater_inv, unsigned int Dim, unsigned int N_updates,
|
|
// double *Updates, unsigned int *Updates_index);
|
|
|
|
// // Sherman-Morrison-Woodbury kernel 3
|
|
// // WB2, WB3, SM4 mixing scheme
|
|
// void SMWB3(double *Slater_inv, unsigned int Dim, unsigned int N_updates,
|
|
// double *Updates, unsigned int *Updates_index);
|
|
|
|
// Sherman-Morrison-Woodbury kernel 4
|
|
// WB2, SM2 mixing scheme
|
|
void SMWB4(double *Slater_inv, const unsigned int Dim,
|
|
const unsigned int N_updates, double *Updates,
|
|
unsigned int *Updates_index);
|