CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
Functions | |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of | seeds (with some trickery to ensure that the values won 't repeat after the table rows are exhausted). The trickery preserves the fact that sees are never negative(because the table values are never negative |
for (n=1 ;n< 98 ;n++) | |
Variables | |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom | cc |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default | ctor |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it | can |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it and often | does |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it and often supply a seed of more | than |
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it and often supply a seed of more Does that adversely affect the behavior of the engine We look at the seeding | process |
long | kl = seed - 30082*ij |
long | i = (ij/177) % 177 + 2 |
long | j = ij % 177 + 2 |
long | k = (kl/169) % 178 + 1 |
long | l = kl % 169 |
theSeed = seed | |
ij | |
for | ( | ) |
Definition at line 34 of file JamesRandomSeeding.txt.
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of seeds | ( | with some trickery to ensure that the values won 't repeat after the table rows are | exhausted | ) |
Referenced by CLHEP::DRand48Engine::DRand48Engine(), CLHEP::HepRandom::getTheTableSeeds(), CLHEP::HepJamesRandom::HepJamesRandom(), CLHEP::RandEngine::RandEngine(), CLHEP::MTwistEngine::setSeeds(), CLHEP::Hurd288Engine::setSeeds(), CLHEP::Hurd160Engine::setSeeds(), CLHEP::HepJamesRandom::setSeeds(), CLHEP::Ranlux64Engine::setSeeds(), CLHEP::RandEngine::setSeeds(), CLHEP::RanshiEngine::setSeeds(), CLHEP::RanecuEngine::setSeeds(), CLHEP::TripleRand::setSeeds(), CLHEP::DualRand::setSeeds(), CLHEP::RanluxEngine::setSeeds(), CLHEP::DRand48Engine::setSeeds(), and CLHEP::HepRandom::setTheSeeds().
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it can |
Definition at line 17 of file JamesRandomSeeding.txt.
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom cc |
Definition at line 8 of file JamesRandomSeeding.txt.
Referenced by HepGeom::Reflect3D::Reflect3D(), and symmatrix_test().
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default ctor |
Definition at line 12 of file JamesRandomSeeding.txt.
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it and often does |
Definition at line 18 of file JamesRandomSeeding.txt.
long i = (ij/177) % 177 + 2 |
Definition at line 27 of file JamesRandomSeeding.txt.
Referenced by anonymousRestore1(), anonymousRestore1< NonRandomEngine >(), aSequence(), CLHEP::back_solve(), BrestoreStep(), BrestoreStepX(), BsaveStep(), BsaveStepX(), captureStatics(), check_sequence(), checkDistributions(), checkEngineInstanceSave(), checkRandGeneralDistribution(), checkSaveDistribution(), checkSaveEngine(), checkSharingDistributions(), CLHEP::col_house(), compareSamples(), CLHEP::condition(), copy_assignment_is_okay(), copy_constructor_is_okay(), CLHEP::crc32ul(), CLHEP::DoubConv::d2x(), CLHEP::HepSymMatrix::determinant(), CLHEP::HepMatrix::determinant(), CLHEP::diagonalize(), dist_layout(), CLHEP::HepAxisAngle::distance(), CLHEP::HepEulerAngles::distance(), factorial(), CLHEP::RandGaussZiggurat::fireArray(), CLHEP::RandPoissonT::fireArray(), CLHEP::RandExpZiggurat::fireArray(), CLHEP::RandMultiGauss::fireArray(), CLHEP::RandGeneral::fireArray(), CLHEP::RandFlat::fireArray(), CLHEP::MTwistEngine::flat(), CLHEP::RanluxEngine::flat(), CLHEP::MTwistEngine::flatArray(), CLHEP::Hurd288Engine::flatArray(), CLHEP::Hurd160Engine::flatArray(), CLHEP::HepJamesRandom::flatArray(), CLHEP::RanecuEngine::flatArray(), CLHEP::NonRandomEngine::flatArray(), CLHEP::Ranlux64Engine::flatArray(), CLHEP::RandEngine::flatArray(), CLHEP::RanshiEngine::flatArray(), CLHEP::TripleRand::flatArray(), CLHEP::DualRand::flatArray(), CLHEP::RanluxEngine::flatArray(), CLHEP::DRand48Engine::flatArray(), CLHEP::RandGeneral::get(), Genfun::RKIntegrator::getFunction(), Genfun::InterpolatingPolynomial::getRange(), CLHEP::NonRandomEngine::getState(), CLHEP::MTwistEngine::getState(), CLHEP::Hurd288Engine::getState(), CLHEP::Hurd160Engine::getState(), CLHEP::HepJamesRandom::getState(), CLHEP::Ranlux64Engine::getState(), CLHEP::RanshiEngine::getState(), CLHEP::RanecuEngine::getState(), CLHEP::DRand48Engine::getState(), CLHEP::RanluxEngine::getState(), CLHEP::HepSymMatrix::HepSymMatrix(), CLHEP::HepVector::HepVector(), CLHEP::house(), CLHEP::Hurd160Engine::Hurd160Engine(), CLHEP::Hurd288Engine::Hurd288Engine(), CLHEP::HepDiagMatrix::invert(), CLHEP::HepSymMatrix::invertBunchKaufman(), layout(), Genfun::RKIntegrator::RKData::lock(), CLHEP::DoubConv::longs2double(), main(), Genfun::PuncturedSmearedExp::max(), Genfun::PuncturedSmearedExp::min(), CLHEP::min_line_dist(), CLHEP::MTwistEngine::MTwistEngine(), CLHEP::Hep3Vector::negativeInfinity(), CLHEP::norm(), CLHEP::MTwistEngine::operator float(), non_int_pointer::operator int *(), CLHEP::MTwistEngine::operator unsigned int(), Genfun::ClebschGordanCoefficientSet::operator()(), Genfun::ArrayFunction::operator()(), Genfun::Sigma::operator()(), Genfun::HermitePolynomial::operator()(), Genfun::LogisticFunction::operator()(), Genfun::PuncturedSmearedExp::operator()(), Genfun::Power::operator()(), Genfun::FunctionDirectProduct::operator()(), CLHEP::Hep3Vector::operator()(), CLHEP::Hep2Vector::operator()(), Genfun::EnergyFunction::operator()(), HepGeom::BasicVector3D< float >::operator()(), CLHEP::HepLorentzVector::operator()(), CLHEP::HepRotation::operator()(), CLHEP::HepLorentzRotation::operator()(), HepGeom::Transform3D::operator()(), CLHEP::HepSymMatrix::operator+=(), CLHEP::HepSymMatrix::operator-=(), Genfun::EfficiencyFunctional::operator[](), Genfun::LikelihoodFunctional::operator[](), Genfun::Argument::operator[](), Classical::PhaseSpace::Component::operator[](), HepGeom::BasicVector3D< float >::operator[](), Genfun::Sigma::partial(), Genfun::Variable::partial(), perturb(), poissonTest(), Pow(), printCheck(), CLHEP::NonRandomEngine::put(), CLHEP::MTwistEngine::put(), CLHEP::Hurd288Engine::put(), CLHEP::Hurd160Engine::put(), CLHEP::HepJamesRandom::put(), CLHEP::Ranlux64Engine::put(), CLHEP::TripleRand::put(), CLHEP::RanshiEngine::put(), CLHEP::DualRand::put(), CLHEP::RanecuEngine::put(), CLHEP::DRand48Engine::put(), CLHEP::RanluxEngine::put(), CLHEP::RandGeneral::put(), CLHEP::qr_decomp(), CLHEP::qr_solve(), randomizeStatics(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::RanshiEngine::RanshiEngine(), CLHEP::MTwistEngine::restoreStatus(), CLHEP::Hurd288Engine::restoreStatus(), CLHEP::Hurd160Engine::restoreStatus(), CLHEP::HepJamesRandom::restoreStatus(), CLHEP::Ranlux64Engine::restoreStatus(), CLHEP::RanshiEngine::restoreStatus(), CLHEP::RanecuEngine::restoreStatus(), CLHEP::DRand48Engine::restoreStatus(), CLHEP::RanluxEngine::restoreStatus(), restoreStep(), restoreStepX(), CLHEP::row_house(), Classical::RungeKuttaSolver::RungeKuttaSolver(), saveEngine(), CLHEP::MTwistEngine::saveStatus(), CLHEP::Hurd288Engine::saveStatus(), CLHEP::Hurd160Engine::saveStatus(), CLHEP::HepJamesRandom::saveStatus(), CLHEP::Ranlux64Engine::saveStatus(), CLHEP::RandEngine::saveStatus(), CLHEP::TripleRand::saveStatus(), CLHEP::RanshiEngine::saveStatus(), CLHEP::RanecuEngine::saveStatus(), CLHEP::DualRand::saveStatus(), CLHEP::DRand48Engine::saveStatus(), CLHEP::RanluxEngine::saveStatus(), saveStep(), saveStepX(), CLHEP::NonRandomEngine::setRandomSequence(), CLHEP::MTwistEngine::setSeed(), CLHEP::HepJamesRandom::setSeed(), CLHEP::Ranlux64Engine::setSeed(), CLHEP::RanluxEngine::setSeed(), CLHEP::MTwistEngine::setSeeds(), CLHEP::Ranlux64Engine::setSeeds(), CLHEP::RanshiEngine::setSeeds(), CLHEP::RanluxEngine::setSeeds(), CLHEP::RandGaussZiggurat::shootArray(), CLHEP::RandExpZiggurat::shootArray(), CLHEP::RandPoissonT::shootArray(), CLHEP::RandFlat::shootArray(), CLHEP::RandGeneral::shootArray(), CLHEP::MTwistEngine::showStatus(), CLHEP::Hurd288Engine::showStatus(), CLHEP::Hurd160Engine::showStatus(), CLHEP::HepJamesRandom::showStatus(), CLHEP::Ranlux64Engine::showStatus(), CLHEP::RanshiEngine::showStatus(), CLHEP::RanluxEngine::showStatus(), CLHEP::DRand48Engine::showStatus(), Genfun::Sigma::Sigma(), CLHEP::HepDiagMatrix::similarity(), staticSave(), staticSaveShootBit(), test(), n_map::test(), test_inversion(), CLHEP::RandEngineBuilder< int >::thirtyTwoRandomBits(), CLHEP::HepSymMatrix::trace(), CLHEP::RandGaussQ::transformSmall(), CLHEP::transformSmall(), user_layout(), useSeed(), valid_range(), vectorRestore1(), vectorRestore1< NonRandomEngine >(), vectorTest64(), vectorTest64< NonRandomEngine >(), CLHEP::RandGaussZiggurat::ziggurat_init(), CLHEP::RandExpZiggurat::ziggurat_init(), Classical::PhaseSpace::Component::Clockwork::~Clockwork(), Genfun::RKIntegrator::~RKIntegrator(), and Genfun::Sigma::~Sigma().
ij |
Definition at line 50 of file JamesRandomSeeding.txt.
Referenced by CLHEP::HepJamesRandom::setSeed().
long j = ij % 177 + 2 |
Definition at line 28 of file JamesRandomSeeding.txt.
Referenced by anonymousRestore1(), anonymousRestore1< NonRandomEngine >(), anonymousRestore2(), checkSharingDistributions(), CLHEP::col_givens(), CLHEP::crc32ul(), CLHEP::gammln(), CLHEP::HepStat::gammln(), gammln1(), gammln2(), CLHEP::HepMatrix::HepMatrix(), Genfun::DefiniteIntegral::Clockwork::TrapezoidQuadratureRule::integrate(), Genfun::DefiniteIntegral::Clockwork::XtMidpointQuadratureRule::integrate(), CLHEP::HepSymMatrix::invertBunchKaufman(), main(), Genfun::LogGamma::operator()(), Genfun::PuncturedSmearedExp::operator()(), Genfun::FunctionDirectProduct::operator()(), CLHEP::HepRotation::operator()(), CLHEP::HepLorentzRotation::operator()(), HepGeom::Transform3D::operator()(), CLHEP::HepMatrix::operator+=(), CLHEP::HepMatrix::operator-=(), CLHEP::HepMatrix::operator=(), Genfun::EfficiencyFunctional::operator[](), CLHEP::qr_decomp(), CLHEP::RanecuEngine::RanecuEngine(), CLHEP::RanshiEngine::RanshiEngine(), CLHEP::row_givens(), CLHEP::HepJamesRandom::setSeed(), test_inversion(), CLHEP::tridiagonal(), vectorRestore1(), vectorRestore1< NonRandomEngine >(), and vectorRestore2().
long k = (kl/169) % 178 + 1 |
Definition at line 29 of file JamesRandomSeeding.txt.
Referenced by anonymousRestore2(), CLHEP::DoubConv::d2x(), CLHEP::diag_step(), CLHEP::RandGamma::fire(), CLHEP::RandGamma::fireArray(), CLHEP::RandSkewNormal::gaussianSkewNormal(), zmex::ZMerrnoList::get(), CLHEP::HepMatrix::HepMatrix(), CLHEP::HepSymMatrix::invertBunchKaufman(), main(), zmex::ZMerrnoList::name(), CLHEP::Hep3Vector::negativeInfinity(), CLHEP::HepMatrix::operator+=(), CLHEP::HepMatrix::operator-=(), CLHEP::HepMatrix::operator=(), HepGeom::Plane3D< T >::point(), poissonTest(), CLHEP::MTwistEngine::setSeed(), CLHEP::HepJamesRandom::setSeed(), CLHEP::MTwistEngine::setSeeds(), CLHEP::RandSkewNormal::shoot(), CLHEP::RandGamma::shoot(), CLHEP::RandGamma::shootArray(), skewNormalTest(), testSkewNormal(), CLHEP::tridiagonal(), and vectorRestore2().
long kl = seed - 30082*ij |
Definition at line 26 of file JamesRandomSeeding.txt.
Referenced by CLHEP::HepJamesRandom::setSeed().
long l = kl % 169 |
Definition at line 30 of file JamesRandomSeeding.txt.
Referenced by Genfun::RKIntegrator::RKFunction::operator()(), and CLHEP::HepJamesRandom::setSeed().
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it and often supply a seed of more Does that adversely affect the behavior of the engine We look at the seeding process |
Definition at line 18 of file JamesRandomSeeding.txt.
Technical Maintenance Note for CLHEP Random Consequences of seeding JamesRandom with positive seed values greater than In the source code JamesRandom The usual way of seeding a generator is via the default which makes use of the table of and the seed is the xor of a mask which starts with a bit and the seed from the table But it and often supply a seed of more than |
Definition at line 18 of file JamesRandomSeeding.txt.
theSeed = seed |
Definition at line 32 of file JamesRandomSeeding.txt.