| 202 | } |
| 203 | |
| 204 | shared_ptr<CoefficientFunction> |
| 205 | CoefficientFunction :: Transform (CoefficientFunction::T_Transform & transformation) const |
| 206 | { |
| 207 | if (InputCoefficientFunctions().Size()) |
| 208 | throw Exception("Transform not overloaed, desc = "+GetDescription()); |
| 209 | |
| 210 | auto thisptr = const_pointer_cast<CoefficientFunction>(this->shared_from_this()); |
| 211 | if (transformation.replace.find(thisptr) != transformation.replace.end()) |
| 212 | return transformation.replace[thisptr]; |
| 213 | |
| 214 | return thisptr; |
| 215 | } |
| 216 | |
| 217 | shared_ptr<CoefficientFunction> CoefficientFunction :: |
| 218 | Diff (const CoefficientFunction * var, shared_ptr<CoefficientFunction> dir) const |
nothing calls this directly
no test coverage detected