TISurjectFunction.h
Go to the documentation of this file.
1 #ifndef imath_TISurjectFunction_included
2 #define imath_TISurjectFunction_included
3 
4 
5 #include <imath/TIMathFunction.h>
6 
7 
8 namespace imath
9 {
10 
11 
17 template <typename Argument, typename Result>
18 class TISurjectFunction: virtual public TIMathFunction<Argument, Result>
19 {
20 public:
27  virtual bool GetInvValueAt(const Result& argument, Argument& result) const = 0;
34  virtual Argument GetInvValueAt(const Result& argument) const = 0;
35 };
36 
37 
38 // standard templatization
39 
41 
42 
43 } // namespace imath
44 
45 
46 #endif // !imath_TISurjectFunction_included
47 
48 
TISurjectFunction< double, double > ISurjectDoubleFunction
virtual bool GetInvValueAt(const Result &argument, Argument &result) const =0
Get inverted function value.
Template interface for any mathematical function.
Template interface for any surjective mathematical function.

© 2007-2017 Witold Gantzke and Kirill Lepskiy