Go to the source code of this file.
|
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.
|
|
namespace | stan::math::internal |
| A comparator that works for any container type that has the brackets operator.
|
|
|
template<typename T , require_arithmetic_t< T > * = nullptr> |
T | stan::math::abs (T x) |
| Return the absolute value of the specified arithmetic argument.
|
|
template<typename T , require_complex_t< T > * = nullptr> |
auto | stan::math::abs (T x) |
| Return the absolute value (also known as the norm, modulus, or magnitude) of the specified complex argument.
|
|
template<typename Container , require_not_container_st< std::is_arithmetic, Container > * = nullptr, require_not_var_matrix_t< Container > * = nullptr, require_not_stan_scalar_t< Container > * = nullptr> |
auto | stan::math::abs (const Container &x) |
| Returns the elementwise abs() of the input, which may be a scalar or any Stan container of numeric scalars.
|
|
template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr> |
auto | stan::math::abs (const Container &x) |
| Version of abs() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
|
|
template<typename V > |
V | stan::math::internal::complex_abs (const std::complex< V > &z) |
| Return the absolute value of the complex argument.
|
|