![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Creates a matrix_cl by replicating the input vector or row_vector.
The elements of the vector or row_vector must be of arithmetic type.
| T | type of elements in the input matrix |
| A | the input matrix_cl (vector or row_vector) |
| m | number of rows (if x is a row_vector) or columns (if x is a vector) in the results matrix |
| <code>domain_error</code> | if the requested dimensions are negative |
Definition at line 55 of file rep_matrix.hpp.