Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
to_vector()
[1/5]
template<typename T_x ,
require_nonscalar_prim_or_rev_kernel_expression_t
< T_x > * = nullptr>
auto stan::math::to_vector
(
T_x &&
x
)
inline
Returns input matrix reshaped into a vector.
Template Parameters
T_x
type of the matrix
Parameters
x
matrix
Returns
the vector representation of the input
Definition at line
21
of file
to_vector.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.