19 static_assert(std::is_same_v<Engine::result_type, uint_type>);
23 std::vector<uint_type> state;
25 std::stringstream otemp;
27 std::copy(std::istream_iterator<uint_type>(otemp), std::istream_iterator<uint_type>(), std::back_inserter(state));
28 stream_state_size = state.size();
34 std::stringstream otemp;
35 std::copy(newstate.begin(), newstate.end(), std::ostream_iterator<uint_type>(otemp,
" "));
43 std::stringstream otemp;
45 std::copy(std::istream_iterator<uint_type>(otemp), std::istream_iterator<uint_type>(), std::back_inserter(curstate));
51 return distribution(engine);
helper functions for EinsplineSetBuilder
void copy(const Array< T1, 3 > &src, Array< T2, 3 > &dest)
A minimally functional wrapper for the since c++11 <random>
typename RandomBase< T >::result_type result_type
StdRandom(uint_type iseed=911)