Lines Matching refs:derivatives

103       : m_value(other.value()), m_derivatives(other.derivatives())  in AutoDiffScalar()
112 : m_value(other.value()), m_derivatives(other.derivatives()) in AutoDiffScalar()
119 m_derivatives = other.derivatives();
126 m_derivatives = other.derivatives();
136 inline const DerType& derivatives() const { return m_derivatives; } in derivatives() function
137 inline DerType& derivatives() { return m_derivatives; } in derivatives() function
167 return AutoDiffScalar<DerType&>(a + b.value(), b.derivatives());
190 internal::make_coherent(m_derivatives, other.derivatives());
193 m_derivatives + other.derivatives());
213 (a - b.value(), -b.derivatives());
226 internal::make_coherent(m_derivatives, other.derivatives());
229 m_derivatives - other.derivatives());
261 a.derivatives() * other);
293 a.derivatives() * (Scalar(-other) / (a.value()*a.value())));
319 internal::make_coherent(m_derivatives, other.derivatives());
325 ((m_derivatives * other.value()) - (m_value * other.derivatives()))
335 internal::make_coherent(m_derivatives, other.derivatives());
340 (m_derivatives * other.value()) + (m_value * other.derivatives()));
402 return AutoDiffScalar<DerType&>(derived().value() + other, derived().derivatives());
407 return AutoDiffScalar<DerType&>(a + b.value(), b.derivatives());
422 derived().derivatives() * other);
430 a.derivatives() * other);
549 return ReturnType(abs(x.value()), x.derivatives() * (x.value()<0 ? -1 : 1) );)
553 return ReturnType(abs2(x.value()), x.derivatives() * (Scalar(2)*x.value()));)
558 return ReturnType(sqrtx,x.derivatives() * (Scalar(0.5) / sqrtx));)
563 return ReturnType(cos(x.value()), x.derivatives() * (-sin(x.value())));)
568 return ReturnType(sin(x.value()),x.derivatives() * cos(x.value()));)
573 return ReturnType(expx,x.derivatives() * expx);)
577 return ReturnType(log(x.value()),x.derivatives() * (Scalar(1)/x.value()));)
587 x.derivatives() * (y * std::pow(x.value(),y-1)));
607 ret.derivatives() = (a.derivatives() * b.value() - a.value() * b.derivatives()) * (tmp2+tmp3);
615 return ReturnType(tan(x.value()),x.derivatives() * (Scalar(1)/numext::abs2(cos(x.value()))));)
620 return ReturnType(asin(x.value()),x.derivatives() * (Scalar(1)/sqrt(1-numext::abs2(x.value()))));)
625 …return ReturnType(acos(x.value()),x.derivatives() * (Scalar(-1)/sqrt(1-numext::abs2(x.value()))));)