Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ append_row() [4/7]

template<typename Scal , typename ColVec , require_stan_scalar_t< Scal > * = nullptr, require_t< is_eigen_col_vector< ColVec > > * = nullptr>
Eigen::Matrix< return_type_t< Scal, ColVec >, Eigen::Dynamic, 1 > stan::math::append_row ( const Scal &  A,
const ColVec &  B 
)
inline

Return the result of stacking an scalar on top of the a vector, with the result being a vector.

This function applies to (scalar, vector) and returns a vector.

Template Parameters
Scaltype of the scalar
ColVectype of the vector
Parameters
Ascalar.
Bvector.
Returns
Result of stacking the scalar on top of the vector.

Definition at line 68 of file append_row.hpp.