#include <complex.hh>
Public Member Functions | |
| ImagPart (const Function< Cmplx > &fnc) | |
| Constructor. | |
| ImagPart (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 imaginary part of an complex function.
Definition at line 77 of file complex.hh.
Constructor.
Definition at line 80 of file complex.hh.
Definition at line 81 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.