Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ rep_matrix() [6/8]

template<typename T , require_stan_scalar_t< T > * = nullptr>
auto stan::math::rep_matrix ( const T &  x,
int  m,
int  n 
)
inline

Default Implementation of rep_matrix returning an Eigen matrix with scalar type equal to the input scalar type.

Template Parameters
TA Scalar type.
Parameters
xA Scalar whose values are propogated to all values in the return matrix.
mNumber or rows.
nNumber of columns.

Definition at line 40 of file rep_matrix.hpp.