( ** Go back to PARENTPAGE ../Gaussian-Distribution-on-UNIX-Random-Device.html)
( ** Go back to HOMESITE https://www.tcnd.com)
( ** Go back to SetSphere https://www.setsphere.com)

from UNIX urandom by tying a group attributes to UNIX device

ASPL set variables can have their attributes tied to lambda code that is executed in real time whenever a set variable is sourced ... When a set variable has its attributes tied to the UNIX urandom device, then it is updated everytime it is sourced. Furthermore, if an attribute is tied to lambda code, then it is being updated with the value returned upong executing the code.

ASPL 1> R1 = ggtierandomgaussian(grp1,RanGauss1,points,300)
get in R1 random numbers by streaming tied UNIX device urandom, attribute rn1 is tied to the device

ASPL 2> R2 = ggtierandomgaussian(grp1,RanGauss2,points,300)
get in R2 random numbers by streaming tied UNIX device urandom, attribute rn2 is tied to the device

ASPL 3> attributes
display the meta data of the attributes

ASPL 4> setExecattrArgs gaussian1 -mean 0 -variance 2
pass some control arguments for the lambda code tied to attribute gaussian1, the arguments are passed as hyphened-delimited string

ASPL 5> setExecattrArgs gaussian2 -mean 0.333 -variance 3
pass some control arguments for the lambda code tied to attribute gaussian2, the arguments are passed as hyphened-delimited string

ASPL 6> ? R1
Interrogate R1

ASPL 7> ? R2
Interrogate R2

ASPL 8> v sorted
print symbol table

ASPL 9> bye