SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWRandInterface Class Referenceabstract

Abstract base class for RWTRand. 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.

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 © 2016 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.