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

PosGenX Class Reference

#include <newran.h>

Inheritance diagram for PosGenX:

Inheritance graph
[legend]
Collaboration diagram for PosGenX:

Collaboration graph
[legend]

Public Member Functions

char * Name ()
 PosGenX (PDF fx)
Real Density (Real x) const

Private Member Functions

void operator= (const PosGenX &)

Private Attributes

PDF f

Constructor & Destructor Documentation

PosGenX::PosGenX PDF  fx  ) 
 

Definition at line 332 of file newran.cpp.

References f.

00332 { f=fx; }


Member Function Documentation

Real PosGenX::Density Real  x  )  const [inline, virtual]
 

Reimplemented from Random.

Definition at line 239 of file newran.h.

References Real.

00239 { return (*f)(x); }

char * PosGenX::Name  )  [virtual]
 

Reimplemented from PosGen.

Definition at line 908 of file newran.cpp.

00908 { return "PosGenX";          }

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

Definition at line 233 of file newran.h.

00233 {}      // private so can't access


Field Documentation

PDF PosGenX::f [private]
 

Definition at line 234 of file newran.h.

Referenced by PosGenX().


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