concepts::OpMult< F > Class Template Reference

#include <formula.hh>

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

Public Member Functions

virtual OpMult< F > * clone () const
 Virtual constructor. More...
 
virtual F operator() (const F val) const
 
 OpMult (const F factor)
 

Protected Member Functions

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

Private Attributes

const F factor_
 

Detailed Description

template<class F>
class concepts::OpMult< F >

Definition at line 379 of file formula.hh.

Constructor & Destructor Documentation

◆ OpMult()

template<class F >
concepts::OpMult< F >::OpMult ( const F  factor)
inline

Definition at line 381 of file formula.hh.

Member Function Documentation

◆ clone()

template<class F >
virtual OpMult<F>* concepts::OpMult< F >::clone ( ) const
inlinevirtual

Virtual constructor.

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

Implements concepts::Operation< F >.

Definition at line 382 of file formula.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::Operation< F >.

◆ operator()()

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

Member Data Documentation

◆ factor_

template<class F >
const F concepts::OpMult< F >::factor_
private

Definition at line 387 of file formula.hh.


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