![]() |
Stan Math Library
5.4.0
Automatic Differentiation
|
Go to the source code of this file.
Classes | |
| struct | stan::math::is_even_fun |
| Vectorization wrapper for is_even. More... | |
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T , require_integral_t< T > * = nullptr> | |
| int | stan::math::is_even (T n) |
| Return 1 if the integer is even and 0 otherwise. | |
| template<typename T , require_container_t< T > * = nullptr> | |
| auto | stan::math::is_even (T &&x) |
| Apply is_even elementwise to a container. | |