Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Creates a matrix_cl by replicating the given value of arithmetic type.
T | type of the result matrix |
x | the input value |
n | number of rows in the result matrix |
m | number of columns in the result matrix |
<code>domain_error</code> | if the requested dimensions are negative |
Definition at line 28 of file rep_matrix.hpp.