Class documentation of Concepts

Loading...
Searching...
No Matches

#include <complex.hh>

Inheritance diagram for concepts::ComplexFunction:
concepts::Function< Cmplx > concepts::OutputOperator

Public Member Functions

 ComplexFunction (const Function< Real > &fnc)
 Constructor.
 
virtual Function< Cmplx > & operator= (const Function< Cmplx > &fnc)
 Assignment operator.
 
virtual Cmplxoperator() (uint i)
 Index operator.
 
virtual Cmplx operator() (uint i) const
 Index operator.
 
virtual Function< Cmplx > & operator+= (const Function< Cmplx > &fnc)
 Addition operator.
 
virtual Function< Cmplx > & operator+= (Cmplx c)
 Addition operator.
 
virtual Function< Cmplx > & operator-= (const Function< Cmplx > &fnc)
 Subtraction operator.
 
virtual Function< Cmplx > & operator-= (Cmplx c)
 Subtraction operator.
 
virtual Function< Cmplx > & operator*= (Cmplx a)
 Scaling operator.
 
virtual Function< Cmplx > & add (const Function< Cmplx > &fnc, Cmplx 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

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

Detailed Description

Complex function based on a real function (casting).

Author
Kersten Schmidt, 2005

Definition at line 104 of file complex.hh.

Constructor & Destructor Documentation

◆ ComplexFunction()

concepts::ComplexFunction::ComplexFunction ( const Function< Real > &  fnc)
inline

Constructor.

Definition at line 107 of file complex.hh.

Member Function Documentation

◆ dim()

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

Returns the dimension of the function.

Definition at line 53 of file basis.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::Function< Cmplx >.

◆ operator()() [1/2]

virtual Cmplx & concepts::ComplexFunction::operator() ( uint  i)
inlinevirtual

Index operator.

Implements concepts::Function< Cmplx >.

Definition at line 116 of file complex.hh.

◆ operator()() [2/2]

virtual Cmplx concepts::ComplexFunction::operator() ( uint  i) const
inlinevirtual

Index operator.

Implements concepts::Function< Cmplx >.

Definition at line 121 of file complex.hh.

◆ operator=()

virtual Function< Cmplx > & concepts::ComplexFunction::operator= ( const Function< Cmplx > &  fnc)
inlinevirtual

Assignment operator.

Implements concepts::Function< Cmplx >.

Definition at line 110 of file complex.hh.

Member Data Documentation

◆ dim_

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

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

Definition at line 57 of file basis.hh.


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