Go to the documentation of this file.
6#ifndef imath_TIMathFunction_included
7#define imath_TIMathFunction_included
20template <
typename Argument,
typename Result>
33 virtual bool GetValueAt(
const Argument& argument, Result& result)
const = 0;
40 virtual Result
GetValueAt(
const Argument& argument)
const = 0;
Template interface for any mathematical function.
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.
Package with mathematical functions and algebraical primitives.
TIMathFunction< double, double > IDoubleFunction
© Witold Gantzke and Kirill Lepskiy