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

◆ append_col() [4/7]

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

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

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

Template Parameters
Scaltype of the scalar
RowVectype of the row vector
Parameters
Ascalar.
Brow vector.
Returns
Result of stacking the scalar on top of the row vector.

Definition at line 71 of file append_col.hpp.