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

◆ fdim() [3/10]

template<typename T >
fvar< T > stan::math::fdim ( double  x,
const fvar< T > &  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 57 of file fdim.hpp.