| 169 | } |
| 170 | |
| 171 | shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var, |
| 172 | shared_ptr<CoefficientFunction> dir) const override |
| 173 | { |
| 174 | if (this == var) return dir; |
| 175 | |
| 176 | auto thisptr = const_pointer_cast<CoefficientFunction>(this->shared_from_this()); |
| 177 | return (-1) * thisptr * c1->Diff(var,dir) * thisptr; |
| 178 | } |
| 179 | |
| 180 | shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, T_DJC & cache) const override |
| 181 | { |
nothing calls this directly
no test coverage detected