Go to the documentation of this file.
55 virtual std::ostream&
info(std::ostream& os)
const;
Function(const Space< G > &spc)
Constructor.
virtual Function< F > & operator+=(const Function< F > &fnc)
Addition operator.
Abstract class for a function.
virtual F operator()(uint i) const =0
Index operator.
virtual Function< F > & operator+=(F c)
Addition operator.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual Function< F > & add(const Function< F > &fnc, F a)
Adds a times fnc to this function.
virtual Function< F > & operator-=(F c)
Subtraction operator.
virtual Function< F > & operator*=(F a)
Scaling operator.
uint dim_
Dimension of the function (or of the space the function is defined)
uint dim() const
Returns the dimension of the function.
virtual F & operator()(uint i)=0
Index operator.
virtual Function< F > & operator=(const Function< F > &fnc)=0
Assignment operator.
virtual Function< F > & operator-=(const Function< F > &fnc)
Subtraction operator.
Class providing an output operator.
Basic namespace for Concepts-2.