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

◆ value_of_rec() [5/8]

template<typename T , require_not_same_t< double, T > * = nullptr>
std::vector< double > stan::math::value_of_rec ( const std::vector< T > &  x)
inline

Convert a std::vector of type T to a std::vector of doubles.

T must implement value_of_rec. See test/math/fwd/fun/value_of_rec.cpp for fvar and var usage.

Template Parameters
TScalar type in std::vector
Parameters
[in]xstd::vector to be converted
Returns
std::vector of values

Definition at line 69 of file value_of_rec.hpp.