1 #ifndef STAN_MATH_PRIM_SCAL_FUN_FMAX_HPP 2 #define STAN_MATH_PRIM_SCAL_FUN_FMAX_HPP 6 #include <boost/math/tools/promotion.hpp> 19 template <
typename T1,
typename T2>
20 inline typename boost::math::tools::promote_args<T1, T2>::type
fmax(
21 const T1& x,
const T2& y) {
int is_nan(const fvar< T > &x)
Returns 1 if the input's value is NaN and 0 otherwise.
fvar< T > fmax(const fvar< T > &x1, const fvar< T > &x2)
Return the greater of the two specified arguments.