![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>#include <stan/math/prim/meta.hpp>#include <stan/math/prim/functor/apply.hpp>#include <stan/math/prim/functor/make_holder_tuple.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 Tuple , require_tuple_t< Tuple > * = nullptr> | |
| auto | stan::math::value_of (Tuple &&tup) |
| Converts a tuples elements scalar types from ad to their child type. | |
| 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 T , require_st_arithmetic< T > * = nullptr> | |
| decltype(auto) | 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 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. | |