Stan Math Library
2.9.0
reverse mode automatic differentiation
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
stan
math
prim
scal
fun
divide.hpp
Go to the documentation of this file.
1
#ifndef STAN_MATH_PRIM_SCAL_FUN_DIVIDE_HPP
2
#define STAN_MATH_PRIM_SCAL_FUN_DIVIDE_HPP
3
4
#include <cstddef>
5
#include <cstdlib>
6
7
namespace
stan
{
8
namespace
math {
9
10
inline
int
divide
(
const
int
x,
const
int
y) {
11
return
std::div(x, y).quot;
12
}
13
14
}
15
}
16
17
#endif
stan
Definition:
log_sum_exp.hpp:8
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.