Inline Polynomial function with type string "inline_polynomial". The callable function retrieved with getCallable() will transform the value with
result = (a * value^0 + b * value^1 + c * value^2 + d * value^3 + d * value^4 + e * value^5)
where parameters are value, a, b, c, d, e.
More...
#include <default_function.h>
Inherits ddl::mapping::MapperElementBase< Function >.
Inline Polynomial function with type string "inline_polynomial". The callable function retrieved with getCallable() will transform the value with
result = (a * value^0 + b * value^1 + c * value^2 + d * value^3 + d * value^4 + e * value^5)
where parameters are value, a, b, c, d, e.
◆ InlinePolynomialFunction()
| ddl::mapping::InlinePolynomialFunction::InlinePolynomialFunction |
( |
std::string | name, |
|
|
Properties | properties ) |
CTOR.
- Parameters
-
| name | the name of the instance |
| properties | the properties for the instance |
◆ getCallable()
| std::shared_ptr< Function::Callable > ddl::mapping::InlinePolynomialFunction::getCallable |
( |
| ) |
const |
|
overridevirtual |
◆ getDefaultProperties()
| static Properties ddl::mapping::InlinePolynomialFunction::getDefaultProperties |
( |
| ) |
|
|
inlinestatic |
◆ getDescription()
| std::unordered_map< std::string, ParameterDescription > ddl::mapping::InlinePolynomialFunction::getDescription |
( |
| ) |
const |
|
overridevirtual |
◆ getType()
| static std::string ddl::mapping::InlinePolynomialFunction::getType |
( |
| ) |
|
|
inlinestatic |
Get the Type as string to register within factory.
- Returns
- std::string
The documentation for this class was generated from the following file: