Stan Math Library
4.9.0
Automatic Differentiation
|
auto stan::math::rep_row_vector | ( | const scalar_type_t< T > & | x, |
int | n | ||
) |
Creates a matrix_cl representing a row vector by replicating the input value.
T | type of the input |
x | the input value |
n | number of cols in the results row_vector |
<code>domain_error</code> | if the requested dimensions are negative |
Definition at line 31 of file rep_row_vector.hpp.