| 5713 | } |
| 5714 | |
| 5715 | shared_ptr<CoefficientFunction> Diff (const CoefficientFunction * var, |
| 5716 | shared_ptr<CoefficientFunction> dir) const override |
| 5717 | { |
| 5718 | if (this == var) return dir; |
| 5719 | Array<shared_ptr<CoefficientFunction>> ci_deriv; |
| 5720 | for (auto & cf : ci) |
| 5721 | if (cf) |
| 5722 | ci_deriv.Append (cf->Diff(var, dir)); |
| 5723 | else |
| 5724 | ci_deriv.Append (nullptr); |
| 5725 | return MakeDomainWiseCoefficientFunction(std::move (ci_deriv), vb); |
| 5726 | } |
| 5727 | |
| 5728 | shared_ptr<CoefficientFunction> DiffJacobi (const CoefficientFunction * var, typename BASE::T_DJC & cache) const override |
| 5729 | { |
nothing calls this directly
no test coverage detected