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

◆ fdim() [1/10]

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