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

◆ trunc() [1/5]

template<typename T >
fvar< T > stan::math::trunc ( const fvar< T > &  x)
inline

Return the nearest integral value that is not larger in magnitude than the specified argument.

Template Parameters
Tinner type of the fvar
Parameters
[in]xArgument.
Returns
The truncated argument.

Definition at line 20 of file trunc.hpp.