|
Index
C++ Code Documentation
loop::Loop2
File: LAB/loop/Loop2.H
Class Loop4Twisted represents a column of a 2x2 matrix of std::complex
laurent series.
public:
- inline Loop2( uint n );
 | constructor | |
- inline Loop2( Loop2 const & );
 | copy constructor | |
- inline ~Loop2();
 | destructor | |
- inline Loop2 & operator=( Loop2 const &a );
 | assignement operator | |
- inline void clear();
 | *this = 0 | |
- inline void copy( Loop2 const &a );
 | *this = a | |
- inline uint polylen() const;
- Loop1 &row1();
 | data access | |
- Loop1 &row2();
- Loop1 const &row1() const;
- Loop1 const &row2() const;
- Loop1 &operator[](uint i);
- else if (i==1);
- throw 1;
- } Loop1 const &operator[](uint i) const;
- else if (i==1);
- throw 1;
- } inline void allocate( uint polylen );
- inline void chop();
 | set small numbers to 0 | |
- inline void neg( Loop2 const &a );
 | *this = -a | |
- inline void neg();
 | *this = -*this | |
- inline void add( Loop2 const &a, Loop2 const &b );
 | *this = a + b | |
- inline void add( Loop2 const &a );
 | *this += a | |
- inline void sub( Loop2 const &a, Loop2 const &b );
 | *this = a - b | |
- inline void sub( Loop2 const &a );
 | *this -= a | |
- inline void mul( Complex const &r, Loop2 const &a );
 | *this = r * a | |
- inline void mul( Real const &r, Loop2 const &a );
 | *this = r * a | |
- inline void mul( Complex const &r );
 | *this *= r | |
- inline void mul( Real const &r );
 | *this *= r | |
- inline void mul_add( Loop2 const &a, Complex const &r, Loop2 const &b );
 | *this = a + r * b | |
- inline void mul_add( Complex const &r, Loop2 const &a );
 | *this += r * a | |
- inline void norm( Real & ) const;
 | r = (*this) . conj(*this) | |
- inline int normalize();
 | *this /= sqrt(norm(*this)) | |
- inline void make_positive();
 | set all coefficients of t^i (i<0) to 0 | |
- inline void make_negative();
 | set all coefficients of t^i (i>0) to 0 | |
- inline void eval( math::complex2<Real> &, Complex const &t ) const;
 | r = eval( *this, lamba ) | |
- inline void eval( math::complex2<Real> &r, math::complex2<Real> &dr, Complex const &t ) const;
- inline friend std::ostream & operator<<( std::ostream &, Loop2 const & );
 | print | |
- inline void print( std::ostream & ) const;
 | full-precision print | |
- inline void printM( std::ostream & ) const;
 | print in Mathematica array format | |
- inline void printC( std::ostream & ) const;
 | print in C format | |
protected:
- Loop1 _row1;
- Loop1 _row2;
- uint _polylen;
private:
|