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