Public Member Functions |
Protected Member Functions |
Protected Attributes |
Private Attributes |
List of all members
concepts::ComplexFunction Class Reference
Complex function based on a real function (casting). More...
#include <complex.hh>
Inheritance diagram for concepts::ComplexFunction:
Public Member Functions | |
virtual Function< Cmplx > & | add (const Function< Cmplx > &fnc, Cmplx a) |
Adds a times fnc to this function. More... | |
ComplexFunction (const Function< Real > &fnc) | |
Constructor. More... | |
uint | dim () const |
Returns the dimension of the function. More... | |
virtual Cmplx & | operator() (uint i) |
Index operator. More... | |
virtual Cmplx | operator() (uint i) const |
Index operator. More... | |
virtual Function< Cmplx > & | operator*= (Cmplx a) |
Scaling operator. More... | |
virtual Function< Cmplx > & | operator+= (Cmplx c) |
Addition operator. More... | |
virtual Function< Cmplx > & | operator+= (const Function< Cmplx > &fnc) |
Addition operator. More... | |
virtual Function< Cmplx > & | operator-= (Cmplx c) |
Subtraction operator. More... | |
virtual Function< Cmplx > & | operator-= (const Function< Cmplx > &fnc) |
Subtraction operator. More... | |
virtual Function< Cmplx > & | operator= (const Function< Cmplx > &fnc) |
Assignment operator. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
uint | dim_ |
Dimension of the function (or of the space the function is defined) More... | |
Private Attributes | |
const Function< Real > & | cfnc_ |
Cmplx | dummy_ |
Detailed Description
Complex function based on a real function (casting).
Definition at line 104 of file complex.hh.
Constructor & Destructor Documentation
◆ ComplexFunction()
Constructor.
Definition at line 107 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::Function< Cmplx >.
◆ 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.
◆ operator=()
|
inlinevirtual |
Assignment operator.
Implements concepts::Function< Cmplx >.
Definition at line 110 of file complex.hh.
Member Data Documentation
◆ cfnc_
Definition at line 127 of file complex.hh.
◆ dim_
|
protectedinherited |
◆ dummy_
|
private |
Definition at line 128 of file complex.hh.
The documentation for this class was generated from the following file:
- function/complex.hh