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