concepts::RealPart Class Reference
Function as real part of an complex function. More...
#include <complex.hh>
Inheritance diagram for concepts::RealPart:
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... | |
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... | |
RealPart (const Function< Cmplx > &fnc) | |
Constructor. More... | |
RealPart (Function< Cmplx > &fnc) | |
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 real part of an complex function.
Definition at line 50 of file complex.hh.
Constructor & Destructor Documentation
◆ RealPart() [1/2]
Constructor.
Definition at line 53 of file complex.hh.
◆ RealPart() [2/2]
Definition at line 54 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