| 422 | } |
| 423 | |
| 424 | shared_ptr<CoefficientFunction> |
| 425 | Diff(const CoefficientFunction *var, |
| 426 | shared_ptr<CoefficientFunction> dir) const override |
| 427 | { |
| 428 | if (this == var) |
| 429 | return c1->Diff(c1.get(), dir); |
| 430 | |
| 431 | auto thisptr = const_pointer_cast<CoefficientFunction>(this->shared_from_this()); |
| 432 | return (-1) * thisptr * c1->Diff(var, dir) * thisptr; |
| 433 | } |
| 434 | |
| 435 | shared_ptr<CoefficientFunction> DiffJacobi(const CoefficientFunction *var, |
| 436 | T_DJC &cache) const override |
nothing calls this directly
no test coverage detected