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

◆ append_row() [2/7]

template<typename T_a , typename T_b , require_all_prim_or_rev_kernel_expression_t< T_a, T_b > * = nullptr, require_any_var_t< T_a, T_b > * = nullptr, require_any_not_stan_scalar_t< T_a, T_b > * = nullptr>
var_value< matrix_cl< double > > stan::math::append_row ( T_a &&  a,
T_b &&  b 
)
inline

Return the result of stacking the rows of the first argument matrix on top of the second argument matrix.

Given input types result in following outputs: (matrix, matrix) -> matrix, (matrix, row_vector) -> matrix, (row_vector, matrix) -> matrix, (row_vector, row_vector) -> matrix, (vector, vector) -> vector.

Template Parameters
T_atype of the first matrix
T_btype of the second matrix
Parameters
aFirst matrix.
bSecond matrix.
Returns
Result of stacking first matrix on top of second.

Definition at line 40 of file append_row.hpp.