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

◆ fdim() [2/10]

template<typename T >
fvar< T > stan::math::fdim ( const fvar< T > &  x,
double  y 
)
inline

Return the positive difference of the specified values (C++11).

Template Parameters
Tinner type of the fvar
Parameters
xFirst argument.
ySecond argument.
Returns
Return the differences of the arguments if it is positive and 0 otherwise.

Definition at line 39 of file fdim.hpp.