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

Exponential Class Reference

#include <newran.h>

Inheritance diagram for Exponential:

Inheritance graph
[legend]
Collaboration diagram for Exponential:

Collaboration graph
[legend]

Public Member Functions

char * Name ()
Real Density (Real) const
ExtReal Mean () const
ExtReal Variance () const

Private Member Functions

void operator= (const Exponential &)

Member Function Documentation

Real Exponential::Density Real   )  const [virtual]
 

Reimplemented from Random.

Definition at line 468 of file newran.cpp.

References Real.

00469 { return  (x > 40.0 || x < 0.0) ? 0.0 : exp(-x); }

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

Reimplemented from PosGen.

Definition at line 182 of file newran.h.

00182 { return 1.0; }

char * Exponential::Name  )  [virtual]
 

Reimplemented from PosGen.

Definition at line 914 of file newran.cpp.

00914 { return "Exponential";      }

void Exponential::operator= const Exponential  )  [inline, private]
 

Definition at line 177 of file newran.h.

00177 {}  // private so can't access

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

Reimplemented from PosGen.

Definition at line 183 of file newran.h.

00183 { return 1.0; }


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