MG Library

Library of Michael Galloy

single page | use frames     summary     class     fields     routine details     file attributes

algorithms/

mgrndrandom__define.pro

Class description for mgrndrandom

Fields

RANDOMURL ''
URL obj_new()

Routines

result = mgrndrandom::_getData(urlString, error=error)

Read from an URL (with error checking).

result = mgrndrandom::getSequence(minimum=minimum, maximum=maximum, error=error)

Returns a permutation of the given range of integers.

result = mgrndrandom::getIntegers(number, minimum=minimum, maximum=maximum, error=error)

Return the given number of random integers (with repetition).

mgrndrandom::cleanup

Free resources.

result = mgrndrandom::init()

Creates a random number generator.

mgrndrandom__define

Routine details

topmgrndrandom::_getData

result = mgrndrandom::_getData(urlString, error=error)

Read from an URL (with error checking).

Return value

strarr

Parameters

urlString

Keywords

error

topmgrndrandom::getSequence

result = mgrndrandom::getSequence(minimum=minimum, maximum=maximum, error=error)

Returns a permutation of the given range of integers.

Return value

lonarr

Keywords

minimum
maximum
error

topmgrndrandom::getIntegers

result = mgrndrandom::getIntegers(number, minimum=minimum, maximum=maximum, error=error)

Return the given number of random integers (with repetition).

Return value

lonarr

Parameters

number

Keywords

minimum
maximum
error

topmgrndrandom::cleanup

mgrndrandom::cleanup

Free resources.

topmgrndrandom::init

result = mgrndrandom::init()

Creates a random number generator.

Return value

1 if success, 0 if failure

topmgrndrandom__define

mgrndrandom__define

File attributes

Modification date: Tue Nov 20 11:24:27 2007
Lines: 141
Docformat: rst rst