Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Creates a matrix_cl by replicating the given value of arithmetic type.
T | type of the result matrix |
A | 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 30 of file rep_matrix.hpp.