OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Member Functions | Private Attributes | List of all members
Distribution::MDependentBehavior Class Reference
Inheritance diagram for Distribution::MDependentBehavior:
Inheritance graph
[legend]
Collaboration diagram for Distribution::MDependentBehavior:
Collaboration graph
[legend]

Public Member Functions

 MDependentBehavior (const MDependentBehavior &rhs)
 
 MDependentBehavior (double a)
 
virtual double get (double rand)
 
- Public Member Functions inherited from Distribution::BinomialBehaviorSplitter
virtual ~BinomialBehaviorSplitter ()
 
virtual double get (double rand)=0
 

Private Attributes

double ami_m
 

Detailed Description

Definition at line 310 of file Distribution.h.

Constructor & Destructor Documentation

◆ MDependentBehavior() [1/2]

Distribution::MDependentBehavior::MDependentBehavior ( const MDependentBehavior rhs)
inline

Definition at line 312 of file Distribution.h.

◆ MDependentBehavior() [2/2]

Distribution::MDependentBehavior::MDependentBehavior ( double  a)
inline

Definition at line 316 of file Distribution.h.

References a, and ami_m.

Member Function Documentation

◆ get()

double Distribution::MDependentBehavior::get ( double  rand)
virtual

Implements Distribution::BinomialBehaviorSplitter.

Definition at line 4410 of file Distribution.cpp.

References ami_m, pow(), and sqrt().

Here is the call graph for this function:

Member Data Documentation

◆ ami_m

double Distribution::MDependentBehavior::ami_m
private

Definition at line 321 of file Distribution.h.

Referenced by get(), and MDependentBehavior().


The documentation for this class was generated from the following files: