#include <complex.hh>
Public Member Functions | |
ComplexFunction (const Function< Real > &fnc) | |
Constructor. | |
virtual Function< Cmplx > & | operator= (const Function< Cmplx > &fnc) |
Assignment operator. | |
virtual Cmplx & | operator() (uint i) |
Index operator. | |
virtual Cmplx | operator() (uint i) const |
Index operator. | |
virtual Function< Cmplx > & | operator+= (const Function< Cmplx > &fnc) |
Addition operator. | |
virtual Function< Cmplx > & | operator+= (Cmplx c) |
Addition operator. | |
virtual Function< Cmplx > & | operator-= (const Function< Cmplx > &fnc) |
Subtraction operator. | |
virtual Function< Cmplx > & | operator-= (Cmplx c) |
Subtraction operator. | |
virtual Function< Cmplx > & | operator*= (Cmplx a) |
Scaling operator. | |
virtual Function< Cmplx > & | add (const Function< Cmplx > &fnc, Cmplx 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 | |
uint | dim_ |
Dimension of the function (or of the space the function is defined) | |
Complex function based on a real function (casting).
Definition at line 104 of file complex.hh.
Constructor.
Definition at line 107 of file complex.hh.
|
inlineinherited |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Function< Cmplx >.
|
inlinevirtual |
Assignment operator.
Implements concepts::Function< Cmplx >.
Definition at line 110 of file complex.hh.
|
protectedinherited |