![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>#include <stan/math/rev/core.hpp>#include <stan/math/prim/meta.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/rep_matrix.hpp>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 Ret , typename T , require_eigen_matrix_dynamic_vt< is_stan_scalar, Ret > * = nullptr, require_stan_scalar_t< T > * = nullptr> | |
| auto | stan::math::rep_matrix (const T &x, int m, int n) |
| Implementation of rep_matrix returning an Eigen matrix with scalar type equal to the input scalar type. | |
| template<typename Ret , typename Vec , require_var_matrix_t< Ret > * = nullptr, require_var_matrix_t< Vec > * = nullptr> | |
| auto | stan::math::rep_matrix (const Vec &x, int n) |
Impl of rep_matrix returning a var_value<Eigen::Matrix> from a var_value with an inner Eigen vector type. | |