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:
GLib.Rand
GLib.Rand
GLib.Rand
Description:
[
Compact
]
[
CCode
( copy_function =
"g_rand_copy"
, free_function =
"g_rand_free"
) ]
public
class
Rand
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
Rand
()
public
Rand.with_seed
(
uint32
seed)
public
Rand.with_seed_array
(
uint32
[] seed,
uint
seed_length)
Methods:
public
bool
boolean
()
public
double
double_range
(
double
begin,
double
end)
public
int32
int_range
(
int32
begin,
int32
end)
public
double
next_double
()
public
uint32
next_int
()
public
void
set_seed
(
uint32
seed)
public
void
set_seed_array
(
uint32
[] seed,
uint
seed_length)