Modified functors implement expressions that involve one functor and a single parameter. More...
Modified functors implement expressions that involve one functor and a single parameter.
The following modified functor types are implemented:
"times-constant"
(class TimesConstant1),"plus-constant"
(class PlusConstant1),"periodic"
(class Periodic1). Classes | |
class | TimesConstant1 |
Implements the product of a function and a constant. More... | |
class | PlusConstant1 |
Implements the sum of a function and a constant. More... | |
class | Periodic1 |
Implements a periodic function. More... | |
Functions | |
shared_ptr< Func1 > | newFunc1 (const string &func1Type, const shared_ptr< Func1 > f, double coeff) |
Create a new modified functor object (see Modified Functors). | |
shared_ptr< Func1 > newFunc1 | ( | const string & | func1Type, |
const shared_ptr< Func1 > | f, | ||
double | coeff | ||
) |
Create a new modified functor object (see Modified Functors).
func1Type | String identifying functor type. |
f | Func1 object. |
coeff | Coefficient; definition depends on functor type. |
Definition at line 164 of file Func1Factory.cpp.