| 2212 | } |
| 2213 | |
| 2214 | shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var, |
| 2215 | shared_ptr<CoefficientFunction> dir) const override |
| 2216 | { |
| 2217 | if (this == var) return dir; |
| 2218 | return c1->Diff(var,dir)*c2 + c1 * c2->Diff(var,dir); |
| 2219 | } |
| 2220 | |
| 2221 | shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override |
| 2222 | { |