Automatic Differentiation
 
Loading...
Searching...
No Matches
append_row.hpp File Reference

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 , require_all_eigen_t< T1, T2 > * = nullptr>
auto stan::math::append_row (const T1 &A, const T2 &B)
 Return the result of stacking the rows of the first argument matrix on top of the second argument matrix.
 
template<typename Scal , typename ColVec , require_stan_scalar_t< Scal > * = nullptr, require_t< is_eigen_col_vector< ColVec > > * = nullptr>
auto stan::math::append_row (const Scal &A, const var_value< ColVec > &B)
 Return the result of stacking an scalar on top of the a vector, with the result being a vector.
 
template<typename ColVec , typename Scal , require_t< is_eigen_col_vector< ColVec > > * = nullptr, require_stan_scalar_t< Scal > * = nullptr>
auto stan::math::append_row (const var_value< ColVec > &A, const Scal &B)
 Return the result of stacking a vector on top of the an scalar, with the result being a vector.