Searched refs:long_lag (Results 1 – 2 of 2) sorted by relevance
/third_party/boost/boost/random/ |
D | subtract_with_carry.hpp | 50 const std::size_t long_lag = Engine::long_lag; in apply() local 59 carry = eng.do_update(j, j + long_lag - short_lag, carry); in apply() 62 std::size_t limit = (long_lag - k) < z? in apply() 63 long_lag : (k + static_cast<std::size_t>(z)); in apply() 70 k = ((z % long_lag) + k) % long_lag; in apply() 74 for(std::size_t i = 0; i < (z - k) / long_lag; ++i) { in apply() 76 carry = eng.do_update(j, j + long_lag - short_lag, carry); in apply() 78 for(std::size_t j = short_lag; j < long_lag; ++j) { in apply() 86 carry = eng.do_update(j, j + long_lag - short_lag, carry); in apply() 116 BOOST_STATIC_CONSTANT(std::size_t, long_lag = r); [all …]
|
D | lagged_fibonacci.hpp | 52 BOOST_STATIC_CONSTANT(unsigned int, long_lag = p); 105 i = long_lag; in BOOST_RANDOM_DETAIL_SEED_SEQ_SEED() 117 i = long_lag; in seed() 123 if(i >= long_lag) in operator ()() 147 for(unsigned int j = 0; j < f.long_lag; ++j) in BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR() 158 for(unsigned int j = 0; j < f.long_lag; ++j) in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR() 168 { return x_.i == y_.i && std::equal(x_.x, x_.x+long_lag, y_.x); } in BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR() 182 UIntType x[long_lag]; 190 const unsigned int lagged_fibonacci_engine<UIntType, w, p, q>::long_lag; member in boost::random::lagged_fibonacci_engine<UIntType, w, p, q> 205 x[j] = (x[j] + x[j+(long_lag-short_lag)]) & low_bits_mask_t<w>::sig_bits; in fill() [all …]
|