Package coneforest.psylla.core
Class PsyRandom
java.lang.Object
coneforest.psylla.core.PsyRandom
- All Implemented Interfaces:
PsyConvertableToName
,PsyConvertableToString
,PsyObject
A representation of
random
, a generator of pseudorandom objects.-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpsyNormalDeviate
(PsyRealNumeric oNumeric) void
psySetSeed
(PsyInteger oSeed) Sets the seed of thisrandom
generator.psyUniformDeviate
(PsyRealNumeric oNumeric) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
Constructor Details
-
PsyRandom
public PsyRandom()
-
-
Method Details
-
psySetSeed
Sets the seed of thisrandom
generator.- Parameters:
oSeed
- the given seed.
-
psyUniformDeviate
- Throws:
PsyErrorException
-
psyUniformBoolean
-
psyNormalDeviate
-