rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWRandGenBasicMLC Class Reference
[Statistics]

Abstract base class for classes that generate random numbers uniformly distributed over the interval [0,1]. More...

#include <rw/randmlcg.h>

Inheritance diagram for RWRandGenBasicMLC:
RWRandGenMCG31M1 RWRandGenMCG59

List of all members.

Public Member Functions

void printOn (std::ostream &s) const
void scanFrom (std::istream &s)
void restoreFrom (RWFile &file)
void restoreFrom (RWvistream &s)
void saveOn (RWFile &file) const
void saveOn (RWvostream &s) const

Related Functions

(Note that these are not member functions.)



std::ostream & operator<< (std::ostream &s, const RWRandGenBasicMLC &gen)
std::istream & operator>> (std::istream &s, RWRandGenBasicMLC &gen)

Detailed Description

Abstract base class for classes that generate random numbers uniformly distributed over the interval [0, 1].


Member Function Documentation

void RWRandGenBasicMLC::printOn ( std::ostream &  s  )  const

Outputs a summary of self's internal state on ostream s.

void RWRandGenBasicMLC::restoreFrom ( RWvistream s  ) 

Restores internal state of self from a virtual stream.

void RWRandGenBasicMLC::restoreFrom ( RWFile file  ) 

Restores internal state of self from a RWFile.

void RWRandGenBasicMLC::saveOn ( RWvostream s  )  const

Stores internal state of self to a virtual stream.

void RWRandGenBasicMLC::saveOn ( RWFile file  )  const

Stores internal state of self a binary format to an RWFile.

void RWRandGenBasicMLC::scanFrom ( std::istream &  s  ) 

Inputs an internal state from istream s to self.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  s,
const RWRandGenBasicMLC gen 
) [related]

Outputs a summary of the internal state of gen on ostream s.

std::istream & operator>> ( std::istream &  s,
RWRandGenBasicMLC gen 
) [related]

Inputs an internal state from istream s to gen.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright 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.
Contact Rogue Wave about documentation or support issues.