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

◆ append_col() [5/7]

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 
)
inline

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

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

Template Parameters
RowVectype of the row vector
Scaltype of the scalar
Parameters
Arow vector.
Bscalar.
Returns
Result of stacking the row vector on top of the scalar.

Definition at line 99 of file append_col.hpp.