SourcePro® 2022.1 |
SourcePro® API Reference Guide |
Abstract base class for classes that generate random numbers uniformly distributed over the interval [0,1]
.
More...
#include <rw/randmlcg.h>
Public Member Functions | |
void | printOn (std::ostream &s) const |
void | restoreFrom (RWFile &file) |
void | restoreFrom (RWvistream &s) |
void | saveOn (RWFile &file) const |
void | saveOn (RWvostream &s) const |
void | scanFrom (std::istream &s) |
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) |
Abstract base class for classes that generate random numbers uniformly distributed over the interval [0, 1]
.
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::saveOn | ( | RWFile & | file | ) | const |
Stores internal state of self a binary format to an RWFile.
void RWRandGenBasicMLC::saveOn | ( | RWvostream & | s | ) | const |
Stores internal state of self to a virtual stream.
void RWRandGenBasicMLC::scanFrom | ( | std::istream & | s | ) |
Inputs an internal state from istream s to self.
|
related |
Outputs a summary of the internal state of gen on ostream s.
|
related |
Inputs an internal state from istream s to gen.
Copyright © 2022 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |