RandomTools[GetFlavor] - return the flavor definition
|
Calling Sequence
|
|
GetFlavor(flvr)
|
|
Parameters
|
|
flvr
|
-
|
symbol; represents a flavor in the form of a procedure or module
|
|
|
|
|
Description
|
|
•
|
The GetFlavor(flvr) function, where flvr specifies a flavor that is known to function Generate, returns the procedure or module that defines the behavior of the flavor.
|
|
If the flavor is not recognized by Generate, an exception is returned.
|
•
|
This function is part of the RandomTools package, and so it can be used in the form GetFlavor(..) only after executing the command with(RandomTools). However, it can always be accessed through the long form of the command by using the form RandomTools[GetFlavor](..).
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?