ICF 3.1.1.10
Technical documentation of ICF Libraries
TISurjectFunction.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef imath_TISurjectFunction_included
7#define imath_TISurjectFunction_included
8
9
11
12
13namespace imath
14{
15
16
22template <typename Argument, typename Result>
23class TISurjectFunction: virtual public TIMathFunction<Argument, Result>
24{
25public:
32 virtual bool GetInvValueAt(const Result& argument, Argument& result) const = 0;
39 virtual Argument GetInvValueAt(const Result& argument) const = 0;
40};
41
42
43// standard templatization
44
46
47
48} // namespace imath
49
50
51#endif // !imath_TISurjectFunction_included
52
53
Template interface for any mathematical function.
Template interface for any surjective mathematical function.
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.
Package with mathematical functions and algebraical primitives.
TISurjectFunction< double, double > ISurjectDoubleFunction

© Witold Gantzke and Kirill Lepskiy