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

◆ max() [1/2]

template<typename T1 , typename T2 , require_all_arithmetic_t< T1, T2 > * = nullptr>
auto stan::math::max ( T1  x,
T2  y 
)

Returns the maximum value of the two specified scalar arguments.

Template Parameters
T1type of first argument (must be arithmetic)
T2type of second argument (must be arithmetic)
Parameters
xfirst argument
ysecond argument
Returns
maximum value of the two arguments

Definition at line 25 of file max.hpp.