14 inline void HepRandomVector::setSeed(
long seed,
int lux) {
15 theEngine->setSeed(seed,lux);
18 inline void HepRandomVector::setSeeds(
const long* seeds,
int aux) {
19 theEngine->setSeeds(seeds,aux);
22 inline long HepRandomVector::getSeed()
const {
23 return theEngine->getSeed();
26 inline const long* HepRandomVector::getSeeds()
const {
27 return theEngine->getSeeds();
30 inline void HepRandomVector::saveStatus(
const char filename[] )
const {
31 theEngine->saveStatus( filename );
34 inline void HepRandomVector::restoreStatus(
const char filename[] ) {
35 theEngine->restoreStatus( filename );
38 inline void HepRandomVector::showStatus()
const {
39 theEngine->showStatus();
45 inline HepVector HepRandomVector::flat() {
48 for ( i = 0; i < v.num_row(); i++ ) {
49 v[i] = theEngine->flat();
57 inline void HepRandomVector::flatArray(
const int size, HepVector* vect) {
60 for ( n = 0; n < size; n++ ) {
61 for ( i = 0; i < vect[n].num_row(); i++ ) {
62 vect[n][i] = theEngine->flat();
69 inline HepVector HepRandomVector::flat(HepRandomEngine* theNewEngine)
73 for ( i = 0; i < v.num_row(); i++ ) {
74 v[i] = theNewEngine->flat();
79 inline void HepRandomVector::flatArray(HepRandomEngine* theNewEngine,
80 const int size, HepVector* vect)
84 for ( n = 0; n < size; n++ ) {
85 for ( i = 0; i < vect[n].num_row(); i++ ) {
86 vect[n][i] = theNewEngine->flat();