Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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.