concepts::Operation< F > Class Template Referenceabstract

#include <formula.hh>

Inheritance diagram for concepts::Operation< F >:
concepts::Cloneable concepts::OutputOperator concepts::OpAdd< F > concepts::OpMult< F > concepts::OpRecipr< F >

Public Member Functions

virtual Operation< F > * clone () const =0
 Virtual constructor. More...
 
virtual F operator() (const F val) const =0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Detailed Description

template<class F>
class concepts::Operation< F >

Definition at line 368 of file formula.hh.

Member Function Documentation

◆ clone()

template<class F >
virtual Operation<F>* concepts::Operation< F >::clone ( ) const
pure virtual

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Implemented in concepts::OpRecipr< F >, concepts::OpAdd< F >, and concepts::OpMult< F >.

◆ info()

template<class F >
virtual std::ostream& concepts::Operation< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in concepts::OpRecipr< F >, concepts::OpAdd< F >, and concepts::OpMult< F >.

◆ operator()()

template<class F >
virtual F concepts::Operation< F >::operator() ( const F  val) const
pure virtual

The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich