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.
|
| |
|
| template<typename T , require_arithmetic_t< T > * = nullptr> |
| auto | stan::math::inv (T x) |
| |
| template<typename T , require_not_container_st< std::is_arithmetic, T > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr, require_container_t< T > * = nullptr> |
| auto | stan::math::inv (T &&x) |
| | Return the elementwise 1.0 / x of the specified argument, which may be a scalar or any Stan container of numeric scalars.
|
| |
| template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr> |
| auto | stan::math::inv (Container &&x) |
| | Version of inv() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
|
| |