ICF 3.0.5.47
Technical documentation of ICF Libraries
imath::TISurjectFunction< Argument, Result > Class Template Referenceabstract

Template interface for any surjective mathematical function. More...

#include <TISurjectFunction.h>

Inheritance diagram for imath::TISurjectFunction< Argument, Result >:
Collaboration diagram for imath::TISurjectFunction< Argument, Result >:

Public Member Functions

virtual bool GetInvValueAt (const Result &argument, Argument &result) const =0
 Get inverted function value.
 
virtual Argument GetInvValueAt (const Result &argument) const =0
 Get inverted function value.
 
- Public Member Functions inherited from imath::TIMathFunction< Argument, Result >
virtual bool GetValueAt (const Argument &argument, Result &result) const =0
 Get function value for specified argument value.
 
virtual Result GetValueAt (const Argument &argument) const =0
 Get function value for specified argument value.
 

Additional Inherited Members

- Public Types inherited from imath::TIMathFunction< Argument, Result >
typedef Argument ArgumentType
 
typedef Result ResultType
 

Detailed Description

template<typename Argument, typename Result>
class imath::TISurjectFunction< Argument, Result >

Template interface for any surjective mathematical function.

A function is surjective if for every y in the codomain Y there is at least one x in the domain X such that f(x) = y.

Definition at line 23 of file TISurjectFunction.h.

Member Function Documentation

◆ GetInvValueAt() [1/2]

template<typename Argument , typename Result >
virtual Argument imath::TISurjectFunction< Argument, Result >::GetInvValueAt ( const Result & argument) const
pure virtual

Get inverted function value.

This overloaded menthod is provided only for convinence.

Parameters
argumentfunction argument.
Returns
function value for specified argument.

◆ GetInvValueAt() [2/2]

template<typename Argument , typename Result >
virtual bool imath::TISurjectFunction< Argument, Result >::GetInvValueAt ( const Result & argument,
Argument & result ) const
pure virtual

Get inverted function value.

Parameters
argumentfunction argument.
resultfunction value for specified argument.
Returns
true if result was correctly calculated.

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

© Witold Gantzke and Kirill Lepskiy