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

◆ append_col() [3/7]

template<typename T1 , typename T2 , typename = require_all_eigen_t<T1, T2>>
auto stan::math::append_col ( const T1 &  A,
const T2 &  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
T1type of the first matrix
T2type of the second matrix
Parameters
AFirst matrix.
BSecond matrix.
Returns
Result of appending the first matrix followed by the second matrix side by side.

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
T1A var_value with inner matrix type.
T1A var_value with inner matrix type.
Parameters
AFirst matrix.
BSecond matrix.
Returns
Result of appending the first matrix followed by the second matrix side by side.

Definition at line 33 of file append_col.hpp.