1 #ifndef STAN_MATH_PRIM_SCAL_FUN_FMIN_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_FMIN_HPP 5 #include <boost/math/tools/promotion.hpp> 18 template <
typename T1,
typename T2>
19 inline typename boost::math::tools::promote_args<T1, T2>::type
20 fmin(
const T1& x,
const T2& y) {
fvar< T > fmin(const fvar< T > &x1, const fvar< T > &x2)
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.