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

◆ append_row() [6/7]

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 
)
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
ColVecA var_value with inner column vector type.
Parameters
Ascalar.
Bvector.
Returns
Result of stacking the scalar on top of the vector.

Definition at line 78 of file append_row.hpp.