concepts::ImagPart Class Reference
Function as imaginary part of an complex function. More...
#include <complex.hh>
Inheritance diagram for concepts::ImagPart:
Public Member Functions | |
virtual Function< Real > & | add (const Function< Real > &fnc, Real a) |
Adds a times fnc to this function. More... | |
uint | dim () const |
Returns the dimension of the function. More... | |
ImagPart (const Function< Cmplx > &fnc) | |
Constructor. More... | |
ImagPart (Function< Cmplx > &fnc) | |
virtual Real & | operator() (uint i) |
Index operator. More... | |
virtual Real | operator() (uint i) const |
Index operator. More... | |
virtual Function< Real > & | operator*= (Real a) |
Scaling operator. More... | |
virtual Function< Real > & | operator+= (const Function< Real > &fnc) |
Addition operator. More... | |
virtual Function< Real > & | operator+= (Real c) |
Addition operator. More... | |
virtual Function< Real > & | operator-= (const Function< Real > &fnc) |
Subtraction operator. More... | |
virtual Function< Real > & | operator-= (Real c) |
Subtraction operator. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
const Function< Cmplx > * | cfnc_ |
uint | dim_ |
Dimension of the function (or of the space the function is defined) More... | |
Function< Cmplx > * | fnc_ |
Detailed Description
Function as imaginary part of an complex function.
Definition at line 77 of file complex.hh.
Constructor & Destructor Documentation
◆ ImagPart() [1/2]
Constructor.
Definition at line 80 of file complex.hh.
◆ ImagPart() [2/2]
Definition at line 81 of file complex.hh.
Member Function Documentation
◆ add()
|
virtualinherited |
Adds a
times fnc
to this function.
◆ dim()
|
inlineinherited |
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::CmplxPart.
◆ operator()() [1/2]
|
inlinevirtual |
◆ operator()() [2/2]
|
inlinevirtual |
◆ operator*=()
|
virtualinherited |
Scaling operator.
◆ operator+=() [1/2]
|
virtualinherited |
Addition operator.
◆ operator+=() [2/2]
|
virtualinherited |
Addition operator.
◆ operator-=() [1/2]
|
virtualinherited |
Subtraction operator.
◆ operator-=() [2/2]
|
virtualinherited |
Subtraction operator.
Member Data Documentation
◆ cfnc_
Definition at line 40 of file complex.hh.
◆ dim_
|
protectedinherited |
◆ fnc_
Definition at line 41 of file complex.hh.
The documentation for this class was generated from the following file:
- function/complex.hh