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

◆ read() [4/6]

template<typename T >
template<typename U , require_std_vector_st< is_complex, U > * = nullptr>
promote_scalar_t< std::complex< T >, U > stan::math::deserializer< T >::read ( const U &  x)
inline

Read a standard vector of std::complex variables 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 118 of file serializer.hpp.