39 virtual std::ostream&
info(std::ostream&
os)
const;
59 return *(
Real*)&(*this->fnc_)(i);
64 return std::real((*this->fnc_)(i));
65 return std::real((*this->cfnc_)(i));
68 virtual std::ostream&
info(std::ostream&
os)
const;
86 return *((
Real*)&(*this->fnc_)(i)+1);
91 return std::imag((*this->fnc_)(i));
92 return std::imag((*this->cfnc_)(i));
95 virtual std::ostream&
info(std::ostream&
os)
const;
125 virtual std::ostream&
info(std::ostream&
os)
const;
#define conceptsException(exc)
virtual Function< Real > & operator=(const Function< Real > &fnc)
Assignment operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
CmplxPart(const Function< Cmplx > &fnc)
Constructor.
virtual Cmplx & operator()(uint i)
Index operator.
ComplexFunction(const Function< Real > &fnc)
Constructor.
virtual Cmplx operator()(uint i) const
Index operator.
virtual Function< Cmplx > & operator=(const Function< Cmplx > &fnc)
Assignment operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
uint dim() const
Returns the dimension of the function.
virtual Real operator()(uint i) const
Index operator.
ImagPart(const Function< Cmplx > &fnc)
Constructor.
virtual Real & operator()(uint i)
Index operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
RealPart(const Function< Cmplx > &fnc)
Constructor.
virtual Real operator()(uint i) const
Index operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual Real & operator()(uint i)
Index operator.
#define conceptsAssert(cond, exc)
Set< F > makeSet(uint n, const F &first,...)
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.