All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
divide.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_FUN_DIVIDE_HPP
#define STAN_MATH_PRIM_SCAL_FUN_DIVIDE_HPP
#include <cstddef>
#include <cstdlib>
namespace stan {
namespace math {
inline int divide(const int x, const int y) {
return std::div(x, y).quot;
}
}
}
#endif
stan::math::divide
stan::return_type< T1, T2 >::type divide(const T1 &v, const T2 &c)
Definition: divide.hpp:17

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