| 53 | } |
| 54 | |
| 55 | template <> shared_ptr<CoefficientFunction> |
| 56 | cl_UnaryOpCF<GenericSqrt>::DiffJacobi(const CoefficientFunction * var, T_DJC & cache) const |
| 57 | { |
| 58 | if (this == var) return make_shared<ConstantCoefficientFunction>(1); |
| 59 | return 0.5/sqrt(c1) * c1->DiffJacobi(var, cache); |
| 60 | } |
| 61 | |
| 62 | |
| 63 | /* |
nothing calls this directly
no test coverage detected