Function Dune::XT::Common::serialize¶
Function template Dune::XT::Common::serialize¶
-
template<class T, class V>
typename std::enable_if<is_vector<V>::value && is_arithmetic<T>::value, std::vector<typename VectorAbstraction<V>::S>>::type Dune::XT::Common::serialize(const V &vec)¶ serializes the entries of a vector into a std::vector of scalar type T