GLib.Rand – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Rand
Rand
Rand.with_seed
Rand.with_seed_array
boolean
double_range
int_range
next_double
next_int
set_seed
set_seed_array
Rand
Object Hierarchy:
Description:
[
Compact
]
public
class
Rand
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
Rand.with_seed
(
uint32
seed)
public
Rand.with_seed_array
(
uint32
[] seed,
uint
seed_length)
public
Rand
()
Methods:
public
void
set_seed
(
uint32
seed)
public
void
set_seed_array
(
uint32
[] seed,
uint
seed_length)
public
bool
boolean
()
public
uint32
next_int
()
public
int32
int_range
(
int32
begin,
int32
end)
public
double
next_double
()
public
double
double_range
(
double
begin,
double
end)