|
Index
C++ Code Documentation
loop::Fourier
File: LAB/loop/Fourier.H
public:
- Fourier(uint count);
- virtual ~Fourier();
- void count( uint c );
- void inv( Loop1 &r, Loop1 const &x );
 | compute r := 1/x via Fourier integrals | |
- void div( Loop1 &r, Loop1 const &x, Loop1 const &y );
 | compute r := x/y via Fourier integrals | |
- void sqrt( Loop1 &r, Loop1 const &x );
 | compute r := Sqrt[x] via Fourier integrals | |
- void inv_sqrt( Loop1 &r, Loop1 const &x );
 | compute r := 1/Sqrt[x] via Fourier integrals | |
- void root4( Loop1 &r, Loop1 const &x );
 | compute r := x^(1/4) via Fourier integrals | |
protected:
private:
- class Integrator1 : public math::RungeKutta<std::complex<double>, std::complex<double> >;
- void compute_( Loop1 &r, Loop1 const &x, void (*f)( Complex &, Complex const & ) );
- void compute_coefficient( Complex &x, int n );
- void function( Complex &w, Complex const &t, Complex const & );
- void (*_f)( Complex &, Complex const & );
- uint _count;
- int _n;
- Loop1 const *_loop;
- Fourier *_parent;
- };
- friend class Integrator1;
- Integrator1 _integrator1;
- class Integrator2 : public math::RungeKutta<std::complex<double>, std::complex<double> >;
- void compute_( Loop1 &r, Loop1 const &y, Loop1 const &x, void (*f)( Complex &, Complex const &, Complex const & ) );
- void compute_coefficient( Complex &x, int n );
- void function( Complex &w, Complex const &t, Complex const & );
- void (*_f)( Complex &, Complex const &, Complex const &);
- uint _count;
- int _n;
- Loop1 const *_loop1, *_loop2;
- Fourier *_parent;
- };
- friend class Integrator2;
- Integrator2 _integrator2;
- static void _inv( Complex &r, Complex const &x );
- static void _div( Complex &r, Complex const &x, Complex const &y );
- static void _sqrt( Complex &r, Complex const &x );
- static void _inv_sqrt( Complex &r, Complex const &x );
- static void _root4( Complex &r, Complex const &x );
- uint _count;
- Fourier( Fourier const & );
 | disabled copy constructor | |
- Fourier &operator=( Fourier const & );
 | disabled assignment operator | |
|