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. | |