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

◆ append_col() [6/7]

template<typename Scal , typename RowVec , require_stan_scalar_t< Scal > * = nullptr, require_t< is_eigen_row_vector< RowVec > > * = nullptr>
auto stan::math::append_col ( const Scal &  A,
const var_value< 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
RowVecA var_value with an inner type of row vector.
Parameters
Ascalar.
Brow vector.
Returns
Result of stacking the scalar on top of the row vector.

Definition at line 81 of file append_col.hpp.