Helper functions detect simplifications that can be made to compound expressions. More...
Helper functions detect simplifications that can be made to compound expressions.
Functions | |
| shared_ptr< Func1 > | newSumFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2) |
| Sum of two functions. | |
| shared_ptr< Func1 > | newDiffFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2) |
| Difference of two functions. | |
| shared_ptr< Func1 > | newProdFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2) |
| Product of two functions. | |
| shared_ptr< Func1 > | newRatioFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2) |
| Ratio of two functions. | |
| shared_ptr< Func1 > | newCompositeFunction (shared_ptr< Func1 > f1, shared_ptr< Func1 > f2) |
| Composite of two functions. | |
| shared_ptr< Func1 > | newTimesConstFunction (shared_ptr< Func1 > f1, double c) |
| Product of function and constant. | |
| shared_ptr< Func1 > | newPlusConstFunction (shared_ptr< Func1 > f1, double c) |
| Sum of function and constant. | |
| string | checkFunc1 (const string &func1Type) |
| Check definition of functor object. | |
| string checkFunc1 | ( | const string & | func1Type | ) |
Check definition of functor object.
| func1Type | String identifying functor type. |
"undefined" if not defined; "standard" if Basic Functors or Advanced Functors (defined in Func1Factory); "compound" if Compound Functors (defined in Math1FactoryA); or "modified" if Modified Functors (defined in Math1FactoryB). Not intended for use in external API's (Python, MATLAB, etc.).
Definition at line 171 of file Func1Factory.cpp.