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

◆ read() [5/6]

template<typename T >
template<typename U , int R, int C>
Eigen::Matrix< T, R, C > stan::math::deserializer< T >::read ( const Eigen::Matrix< U, R, C > &  x)
inline

Read a standard vector conforming to the shape of the specified argument, here an Eigen matrix, vector, or row 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 scalar
Rrow specification for Eigen container
Ccolumn specification for Eigen container
Parameters
xpattern argument to determine result shape and size
Returns
deserialized value with shape and size matching argument

Definition at line 139 of file serializer.hpp.