Class documentation of Concepts

Loading...
Searching...
No Matches

#include <complex.hh>

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

Public Member Functions

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

Function as real part of an complex function.

Author
Kersten Schmidt, 2005

Definition at line 50 of file complex.hh.

Constructor & Destructor Documentation

◆ RealPart() [1/2]

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

Constructor.

Definition at line 53 of file complex.hh.

◆ RealPart() [2/2]

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

Definition at line 54 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::RealPart::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::CmplxPart.

◆ operator()() [1/2]

virtual Real & concepts::RealPart::operator() ( uint  i)
inlinevirtual

Index operator.

Implements concepts::Function< Real >.

Definition at line 57 of file complex.hh.

◆ operator()() [2/2]

virtual Real concepts::RealPart::operator() ( uint  i) const
inlinevirtual

Index operator.

Implements concepts::Function< Real >.

Definition at line 62 of file complex.hh.

Member Data Documentation

◆ cfnc_

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

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_
protectedinherited

Definition at line 41 of file complex.hh.


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