ACF $AcfVersion:0$
TISurjectFunction.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
7
8
9namespace imath
10{
11
12
18template <typename Argument, typename Result>
19class TISurjectFunction: virtual public TIMathFunction<Argument, Result>
20{
21public:
28 virtual bool GetInvValueAt(const Result& argument, Argument& result) const = 0;
35 virtual Argument GetInvValueAt(const Result& argument) const = 0;
36};
37
38
39// standard templatization
40
42
43
44} // namespace imath
45
46
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