Stan Math Library  2.15.0
reverse mode automatic differentiation
Namespaces | Functions
trunc.hpp File Reference
#include <stan/math/prim/scal/fun/boost_policy.hpp>
#include <stan/math/prim/scal/fun/is_nan.hpp>
#include <boost/math/special_functions/trunc.hpp>
#include <limits>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

double stan::math::trunc (double x)
 Return the nearest integral value that is not larger in magnitude than the specified argument. More...
 
double stan::math::trunc (int x)
 Return the nearest integral value that is not larger in magnitude than the specified argument. More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.