Documentation API of the 'umontreal.iro.lecuyer.rng.BakerTransformedStream' Java class
BakerTransformedStream
umontreal.iro.lecuyer.rng

Class BakerTransformedStream

  • All Implemented Interfaces:
    RandomStream


    public class BakerTransformedStreamextends Objectimplements RandomStream
    This container class permits one to apply the baker's transformation to the output of any RandomStream. It transforms each u∈[0, 1] into 2u if u <= 1/2 and 2(1 - u) if u > 1/2. The nextDouble method will return the result of this transformation and the other next... methods are affected accordingly. Any instance of this class contains a RandomStream called its base stream, used to generate its numbers and to which the transformation is applied. Any call to one of the next... methods of this class will modify the state of the base stream.

    The baker transformation is often applied when the RandomStream is actually an iterator over a point set used for quasi-Monte Carlo integration (see the hups package).

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.