Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ fmin() [6/10]

template<typename T1 , typename T2 , require_all_arithmetic_t< T1, T2 > * = nullptr>
double stan::math::fmin ( T1  x,
T2  y 
)
inline

Return the lesser of the two specified arguments.

If one is not-a-number, return the other.

Parameters
xFirst argument.
ySecond argument.
Returns
Minimum of x or y and if one is NaN return the other

Definition at line 20 of file fmin.hpp.