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

◆ fmin() [5/10]

template<typename T_a , typename T_b , require_all_prim_or_rev_kernel_expression_t< T_a, T_b > * = nullptr, require_any_var_t< T_a, T_b > * = nullptr, require_any_not_stan_scalar_t< T_a, T_b > * = nullptr>
var_value< matrix_cl< double > > stan::math::fmin ( T_a &&  a,
T_b &&  b 
)
inline

Return the lesser of the two specified arguments.

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

Parameters
aFirst argument.
bSecond argument.
Returns
Minimum of a or b and if one is NaN return the other

Definition at line 31 of file fmin.hpp.