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

◆ append_col() [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_col ( T_a &&  a,
T_b &&  b 
)
inline

Return the result of appending the second argument matrix after the first argument matrix, that is, putting them side by side, with the first matrix followed by the second matrix.

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

Template Parameters
T_atype of the first matrix
T_btype of the second matrix
Parameters
aFirst matrix.
bSecond matrix.
Returns
Result of appending the first matrix followed by the second matrix side by side.

Definition at line 42 of file append_col.hpp.