Class documentation of Concepts

Loading...
Searching...
No Matches

#include <complex.hh>

Inheritance diagram for concepts::CmplxPart:
concepts::Function< Real > concepts::OutputOperator concepts::ImagPart concepts::RealPart

Public Member Functions

 CmplxPart (const Function< Cmplx > &fnc)
 Constructor.
 
 CmplxPart (Function< Cmplx > &fnc)
 
virtual Function< Real > & operator= (const Function< Real > &fnc)
 Assignment operator.
 
virtual Realoperator() (uint i)=0
 Index operator.
 
virtual Real operator() (uint i) const=0
 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)
 

Detailed Description

Abstract class for a function, which is one part of an complex function.

Derived in RealPart and ImagPart.

Author
Kersten Schmidt, 2005

Definition at line 25 of file complex.hh.

Constructor & Destructor Documentation

◆ CmplxPart() [1/2]

concepts::CmplxPart::CmplxPart ( const Function< Cmplx > &  fnc)
inline

Constructor.

Definition at line 28 of file complex.hh.

◆ CmplxPart() [2/2]

concepts::CmplxPart::CmplxPart ( Function< Cmplx > &  fnc)
inline

Definition at line 30 of file complex.hh.

Member Function Documentation

◆ dim()

uint concepts::Function< Real >::dim ( ) const
inlineinherited

Returns the dimension of the function.

Definition at line 53 of file basis.hh.

◆ info()

virtual std::ostream & concepts::CmplxPart::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Function< Real >.

Reimplemented in concepts::RealPart, and concepts::ImagPart.

◆ operator()() [1/2]

virtual Real concepts::Function< Real >::operator() ( uint  i) const
pure virtualinherited

Index operator.

Implemented in concepts::RealPart, and concepts::ImagPart.

◆ operator()() [2/2]

virtual Real & concepts::Function< Real >::operator() ( uint  i)
pure virtualinherited

Index operator.

Implemented in concepts::RealPart, and concepts::ImagPart.

◆ operator=()

virtual Function< Real > & concepts::CmplxPart::operator= ( const Function< Real > &  fnc)
inlinevirtual

Assignment operator.

Implements concepts::Function< Real >.

Definition at line 34 of file complex.hh.

Member Data Documentation

◆ cfnc_

const Function<Cmplx>* concepts::CmplxPart::cfnc_
protected

Definition at line 40 of file complex.hh.

◆ dim_

uint concepts::Function< Real >::dim_
protectedinherited

Dimension of the function (or of the space the function is defined)

Definition at line 57 of file basis.hh.

◆ fnc_

Function<Cmplx>* concepts::CmplxPart::fnc_
protected

Definition at line 41 of file complex.hh.


The documentation for this class was generated from the following file: