Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ read() [2/6]

template<typename T >
template<typename U >
std::complex< T > stan::math::deserializer< T >::read ( const std::complex< U > &  x)
inline

Read a complex number conforming to the shape of the specified argument.

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

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

Definition at line 81 of file serializer.hpp.