1 #ifndef STAN__AGRAD__REV__FUNCTIONS__FMIN_HPP
2 #define STAN__AGRAD__REV__FUNCTIONS__FMIN_HPP
5 #include <boost/math/special_functions/fpclassify.hpp>
64 std::vector<stan::agrad::var> vars;
65 std::vector<double> grads;
bool isnan(const stan::agrad::var &v)
Checks if the given number is NaN.
const double NOT_A_NUMBER
(Quiet) not-a-number value.
var precomputed_gradients(const double value, const std::vector< var > &vars, const std::vector< double > &gradients)
This function is provided for Stan users that want to compute gradients without using Stan's auto-dif...
const double val_
The value of this variable.
vari * vi_
Pointer to the implementation of this variable.
fvar< T > fmin(const fvar< T > &x1, const fvar< T > &x2)
Independent (input) and dependent (output) variables for gradients.