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

◆ read() [3/6]

template<typename T >
template<typename U , require_std_vector_t< U > * = nullptr, require_not_st_complex< U > * = nullptr>
promote_scalar_t< T, U > stan::math::deserializer< T >::read ( const U &  x)
inline

Read a standard vector conforming to the shape of the specified argument, here a standard vector.

The specified argument is only used for its shape—there is no relationship between the type of argument and type of result.

Template Parameters
Utype of pattern sequence elements
Parameters
xpattern argument to determine result shape and size
Returns
deserialized value with shape and size matching argument

Definition at line 99 of file serializer.hpp.