[430] | 1 | <head> |
---|
| 2 | <title>EOPTION</title> |
---|
| 3 | <!-- Changed by: Hans Grote, 13-Sep-2000 --> |
---|
| 4 | <!-- Changed by: Werner Herr, 19-Jun-2002 --> |
---|
| 5 | </head> |
---|
| 6 | |
---|
| 7 | <body bgcolor="#ffffff"> |
---|
| 8 | |
---|
| 9 | <h1>EOPTION: Set Error Options</h1> |
---|
| 10 | |
---|
| 11 | The random generator for MAD is taken from |
---|
| 12 | <a href="../Introduction/bibliography.html#knuth">[Knuth]</a>. |
---|
| 13 | The error option command specifies different seeds for random values: |
---|
| 14 | <pre> |
---|
| 15 | EOPTION,SEED=real,ADD=logical; |
---|
| 16 | </pre> |
---|
| 17 | <ul> |
---|
| 18 | <li>SEED: |
---|
| 19 | Selects a particular sequence of random values. |
---|
| 20 | A SEED value is an integer in the range [0...999999999] (default: 123456789). |
---|
| 21 | SEED alone continues with the current sequence |
---|
| 22 | See also: <a href="../Introduction/expression.html#random">Random values</a>. |
---|
| 23 | SEED may be an expression. |
---|
| 24 | <li>ADD: |
---|
| 25 | If this logical flag is set, |
---|
| 26 | an EALIGN or EFCOMP, causes the errors to |
---|
| 27 | be added on top of existing ones. |
---|
| 28 | If it is not set, new errors overwrite any previous definitions. |
---|
| 29 | The default value is TRUE if it is omitted in the EOPTION command. |
---|
| 30 | The default value is false if no EOPTION command is used. |
---|
| 31 | <BR> |
---|
| 32 | <font COLOR="#ff0000">Please note a recent modification:</font> the default value for the ADD |
---|
| 33 | option is only applied as long as the ADD option has not been set explicitly. |
---|
| 34 | Once it was set with EOPTION, it is NOT reset to the default when |
---|
| 35 | the ADD option is omitted in subsequent calls to EOPTION. |
---|
| 36 | </ul> |
---|
| 37 | <font COLOR="#ff0000"> |
---|
| 38 | Example: |
---|
| 39 | <pre> |
---|
| 40 | EOPTION,SEED=987456321; |
---|
| 41 | </pre> |
---|
| 42 | </font> |
---|
| 43 | |
---|
| 44 | <address> |
---|
| 45 | <a href="http://consult.cern.ch/xwho/people/1808">Werner Herr</a> |
---|
| 46 | 18.6.2002 |
---|
| 47 | </address> |
---|
| 48 | |
---|
| 49 | </body> |
---|