Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

OredVectRandom Class Reference

#include <newran.h>

Inheritance diagram for OredVectRandom:

Inheritance graph
[legend]
Collaboration diagram for OredVectRandom:

Collaboration graph
[legend]

Public Member Functions

 OredVectRandom (void)
 ~OredVectRandom (void)
Real Next ()
ExtReal Mean () const
ExtReal Variance () const

Private Attributes

int ati

Constructor & Destructor Documentation

OredVectRandom::OredVectRandom void   )  [inline]
 

Definition at line 677 of file newran.h.

00677 : ati( -1 )     {}

OredVectRandom::~OredVectRandom void   )  [inline]
 

Definition at line 678 of file newran.h.

00679         {}


Member Function Documentation

ExtReal OredVectRandom::Mean  )  const [inline, virtual]
 

Reimplemented from Random.

Definition at line 688 of file newran.h.

00688 { return 0.0; }

Real OredVectRandom::Next  )  [inline, virtual]
 

Reimplemented from Random.

Definition at line 681 of file newran.h.

References Real.

00682    {
00683            if( ++ati >= (int)size() )
00684                    ati = 0;
00685            return at( ati )->Next();
00686    }

ExtReal OredVectRandom::Variance  )  const [inline, virtual]
 

Reimplemented from Random.

Definition at line 689 of file newran.h.

00689 { return 0.0; }


Field Documentation

int OredVectRandom::ati [private]
 

Definition at line 675 of file newran.h.


The documentation for this class was generated from the following file:
Generated on Fri Dec 5 04:06:28 2003 for Borqueror by doxygen 1.3.3