Interface for parameterizing a scalar function.
More...
#include <scalarFunctionInstanceInterface.hpp>
Interface for parameterizing a scalar function.
virtual strus::ScalarFunctionInstanceInterface::~ScalarFunctionInstanceInterface |
( |
| ) |
|
|
inlinevirtual |
virtual double strus::ScalarFunctionInstanceInterface::call |
( |
const double * |
args, |
|
|
unsigned int |
nofargs |
|
) |
| const |
|
pure virtual |
Execute the function.
- Parameters
-
[in] | args | array of arguments |
[in] | nofargs | number of elements in args |
virtual void strus::ScalarFunctionInstanceInterface::setVariableValue |
( |
const std::string & |
name, |
|
|
double |
value |
|
) |
| |
|
pure virtual |
Initialize a variable value.
- Parameters
-
[in] | name | variable name |
[in] | value | value of the variable to set |
virtual std::string strus::ScalarFunctionInstanceInterface::tostring |
( |
| ) |
const |
|
pure virtual |
Return the representation (VM code or whatever it is) of the function with variables substituted as string.
The documentation for this class was generated from the following file: