packages/Utils/rng/RNG_Control.cc
//---------------------------------------------------------------------------//
// PRIVATE FUNCTIONS
//---------------------------------------------------------------------------//
/*!
 * \brief Make a SPRNG random number object.
 *
 * This function is used by the public interface to get a SPRNG random number
 * object.
 */
PRIVATE FUNCTIONS
\brief Make a SPRNG random number object.

This function is used by the public interface to get a SPRNG random number
object.
PRIVATE FUNCTIONS \ brief Make a SPRNG random number object . This function is used by the public interface to get a SPRNG random number object .
RNG_Control::RNG_t RNG_Control::make_random_number_generator() const
{
    REQUIRE(d_stream <= d_number);
    int *id = init_sprng(d_stream, d_number, d_seed, d_parameter);
    RNG random(id, d_stream);
    return random;
}
RNG_Control :: RNG_t RNG_Control :: make_random_number_generator ( ) const { REQUIRE ( d_stream <= d_number ) ; int * id = init_sprng ( d_stream , d_number , d_seed , d_parameter ) ; RNG random ( id , d_stream ) ; return random ; }
PRIVATE FUNCTIONS
 \brief Make a SPRNG random number object.
PRIVATE FUNCTIONS \ brief Make a SPRNG random number object .
// declare a stream // create a new RNG object // return the object