npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
performSchultzIteration.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_PERFORMSCHULTZITERATION_HH_
2 #define NPSTAT_PERFORMSCHULTZITERATION_HH_
3 
4 /*!
5 // \file performSchultzIteration.hh
6 //
7 // \brief Schultz iteration for improving matrix inverses
8 //
9 // Author: I. Volobouev
10 //
11 // July 2020
12 */
13 
14 namespace npstat {
15  // The arrays must be dimensioned dim x dim.
16  // "inverse" must contain an approximate inverse
17  // on input. It will contain an improved inverse
18  // on output, obtained by performing one Schultz iteration.
19  // Multiple calls to this function can be made in a cycle.
20  void performSchultzIteration(const long double* mat,
21  unsigned dim,
22  long double* inverse);
23 }
24 
25 #endif // NPSTAT_PERFORMSCHULTZITERATION_HH_
Definition: AbsArrayProjector.hh:14