FastAD
FastAD copied to clipboard
using FastAD were Scalar type is a template parameter ?
Is it possible to use FastAD reverse mode to compute the derivative of an algorithm
template <class Scalar> Scalar f( const std::vector<Scalar>& x)
where f(x) only uses the operators + , -, *, /, and = operations with Scalar objects. If so, is there an example that demonstrates this ?