rwlogo
SourcePro C++ 13.0

SourcePro® C++ API Reference Guide

Product Documentation:

   SourcePro C++
Documentation Home

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members | Public Member Functions
RWRandInterface Class Referenceabstract

Abstract base class for RWTRand<Generator> . More...

#include <rw/rand.h>

Inheritance diagram for RWRandInterface:
RWTRand< Generator > RWTRandBinomial< Generator > RWTRandExponential< Generator > RWTRandGamma< Generator > RWTRandNormal< Generator > RWTRandPoisson< Generator > RWTRandUniform< Generator >

Public Member Functions

virtual double operator() ()=0
 

Detailed Description

Abstract base class for RWTRand<Generator>.

Member Function Documentation

virtual double RWRandInterface::operator() ( )
pure virtual

Function call operator. Defined by derived classes to return a random number from the appropriate probability distribution.

Implemented in RWTRandBinomial< Generator >, RWTRandPoisson< Generator >, RWTRandGamma< Generator >, RWTRandExponential< Generator >, RWTRandNormal< Generator >, and RWTRandUniform< Generator >.


Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.