Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#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 T1 , typename T2 , typename = require_all_eigen_t<T1, T2>> | |
auto | stan::math::append_col (const T1 &A, const T2 &B) |
Return the result of appending the second argument matrix after the first argument matrix, that is, putting them side by side, with the first matrix followed by the second matrix. | |
template<typename Scal , typename RowVec , require_stan_scalar_t< Scal > * = nullptr, require_t< is_eigen_row_vector< RowVec > > * = nullptr> | |
Eigen::Matrix< return_type_t< Scal, RowVec >, 1, Eigen::Dynamic > | stan::math::append_col (const Scal &A, const RowVec &B) |
Return the result of stacking an scalar on top of the a row vector, with the result being a row vector. | |
template<typename RowVec , typename Scal , require_t< is_eigen_row_vector< RowVec > > * = nullptr, require_stan_scalar_t< Scal > * = nullptr> | |
Eigen::Matrix< return_type_t< RowVec, Scal >, 1, Eigen::Dynamic > | stan::math::append_col (const RowVec &A, const Scal &B) |
Return the result of stacking a row vector on top of the an scalar, with the result being a row vector. | |