The class "rstream.runif" provides the following methods for
handling "rstream.runif" objects. Some methods that return
parameters of the stream object have a variant that uses <-
to
change the respective parameters. See the man pages for the respective
methods for details.
Methods to use the stream:
- rstream.sample
signature(object = "rstream.runif")
:
Get a random sample from the stream object.
- r
signature(object = "rstream.runif")
:
Same as rstream.sample
.
- rstream.reset
signature(object = "rstream.runif")
:
Reset stream into initial state.
Antithetic random streams:
- rstream.antithetic
signature(object = "rstream.runif")
:
Whether or not the stream object returns antithetic random
numbers.
- rstream.antithetic<-
signature(object = "rstream.runif")
:
Change antithetic flag (TRUE
or FALSE
).
Handling "rstream.runif" objects:
- print
signature(x = "rstream.runif")
:
Print state of the stream object.
- rstream.name
signature(object = "rstream.runif")
:
The name of the stream object.
- rstream.name<-
signature(object = "rstream.runif")
:
Change the name of the stream object.
- rstream.clone
signature(object = "rstream.runif")
:
Make a copy (clone) of stream object.
- initialize
signature(.Object = "rstream.runif")
:
Initialize rstream object. (For Internal usage only).
When a "rstream.runif" object should be used in another R session
or saved for some kind of later reuse all information about the
object must be packed. Notice no method other than unpacking can be
applied to a packed object. It must be unpacked before.
- rstream.packed
signature(object = "rstream.runif")
:
Whether or not the stream object is packed.
- rstream.packed<-
signature(object = "rstream.runif")
:
Pack or unpack object: set packed to TRUE
or FALSE
.