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

◆ to_matrix() [6/13]

template<typename EigVec , require_eigen_vector_t< EigVec > * = nullptr>
auto stan::math::to_matrix ( EigVec &&  matrix)
inline

Returns a matrix with dynamic dimensions constructed from an Eigen row or column vector.

The runtime dimensions will be the same as the input.

Template Parameters
EigMattype of the vector/row vector
Parameters
matrixinput vector/row vector
Returns
the matrix representation of the input

Definition at line 37 of file to_matrix.hpp.