#include <complex.hh>
  
Public Member Functions | |
| RealPart (const Function< Cmplx > &fnc) | |
| Constructor.   | |
| RealPart (Function< Cmplx > &fnc) | |
| virtual Real & | operator() (uint i) | 
| Index operator.   | |
| virtual Real | operator() (uint i) const | 
| Index operator.   | |
| virtual Function< Real > & | operator+= (const Function< Real > &fnc) | 
| Addition operator.  | |
| virtual Function< Real > & | operator+= (Real c) | 
| Addition operator.  | |
| virtual Function< Real > & | operator-= (const Function< Real > &fnc) | 
| Subtraction operator.  | |
| virtual Function< Real > & | operator-= (Real c) | 
| Subtraction operator.  | |
| virtual Function< Real > & | operator*= (Real a) | 
| Scaling operator.  | |
| virtual Function< Real > & | add (const Function< Real > &fnc, Real a) | 
Adds a times fnc to this function.  | |
| uint | dim () const | 
| Returns the dimension of the function.   | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const | 
| Returns information in an output stream.   | |
Protected Attributes | |
| const Function< Cmplx > * | cfnc_ | 
| Function< Cmplx > * | fnc_ | 
| uint | dim_ | 
| Dimension of the function (or of the space the function is defined)   | |
Function as real part of an complex function.
Definition at line 50 of file complex.hh.
Constructor.
Definition at line 53 of file complex.hh.
Definition at line 54 of file complex.hh.
      
  | 
  inlineinherited | 
      
  | 
  protectedvirtual | 
Returns information in an output stream.
Reimplemented from concepts::CmplxPart.
Definition at line 40 of file complex.hh.
      
  | 
  protectedinherited | 
Definition at line 41 of file complex.hh.