Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <cstddef>
#include <vector>
Go to the source code of this file.
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_st_arithmetic< T > * = nullptr> | |
T | stan::math::value_of (T &&x) |
Inputs that are arithmetic types or containers of airthmetric types are returned from value_of unchanged. | |
template<typename T , require_complex_t< T > * = nullptr, require_t< std::is_arithmetic< typename std::decay_t< T >::value_type > > * = nullptr> | |
auto | stan::math::value_of (T &&x) |
template<typename T , require_std_vector_t< T > * = nullptr, require_not_st_arithmetic< T > * = nullptr> | |
auto | stan::math::value_of (const T &x) |
For std::vectors of non-arithmetic types, return a std::vector composed of value_of applied to each element. | |
template<typename EigMat , require_eigen_dense_base_t< EigMat > * = nullptr, require_not_st_arithmetic< EigMat > * = nullptr> | |
auto | stan::math::value_of (EigMat &&M) |
For Eigen matrices and expressions of non-arithmetic types, return an expression that represents the Eigen::Matrix resulting from applying value_of elementwise. | |