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

◆ rep_vector() [4/4]

template<typename T_ret , require_var_matrix_t< T_ret > * = nullptr, require_eigen_col_vector_t< value_type_t< T_ret > > * = nullptr>
auto stan::math::rep_vector ( var  x,
int  n 
)
inline

Overload for var_value<Vector>.

Template Parameters
T_retThe user supplied return type.
TA double or var type
Parameters
xThe type to be propogated through the new vector.
nThe size of the new vector.

Definition at line 22 of file rep_vector.hpp.