Edited by CFX Master, 04 January 2009 - 01:38 PM.
Ran# Command
Started by
ACCOUNT_DISABLED
, Sep 30 2006 08:15 PM
3 replies to this topic
#1
Posted 30 September 2006 - 08:15 PM
.
#2
Posted 01 October 2006 - 01:22 AM
Another 9850 / 9860 difference.
On Page 89 of the PDF manual it states:
------------------------------------------------------
This function generates a 10-digit truly random or sequentially random number that is greater
than zero and less than 1.
* A truly random number is generated if you do not specify anything for the argument.
Example
Ran# (Generates a random number.)
Each press of EXE' /> generates a new random number.
* Specifying an argument from 1 to 9 generates random numbers based on that sequence.
* Specifying an argument of 0 initialises the sequence
Example
Ran# 1 (Generates the first random number in sequence 1.)
EXE' /> (Generates the second random number in sequence 1.)
Ran# 0 (Initialises the sequence.)
Ran# 1 (Generates the first random number in sequence 1.)
* Changing to a different sequence or generating a totally random number
(without an argument) initialises the sequence.
------------------------------------------------------
Question though, why would you want to use a sequence of numbers which are the same
every time, and how does it generate a truly random number anyway?
On Page 89 of the PDF manual it states:
------------------------------------------------------
This function generates a 10-digit truly random or sequentially random number that is greater
than zero and less than 1.
* A truly random number is generated if you do not specify anything for the argument.
Example
Ran# (Generates a random number.)
Each press of EXE' /> generates a new random number.
* Specifying an argument from 1 to 9 generates random numbers based on that sequence.
* Specifying an argument of 0 initialises the sequence
Example
Ran# 1 (Generates the first random number in sequence 1.)
EXE' /> (Generates the second random number in sequence 1.)
Ran# 0 (Initialises the sequence.)
Ran# 1 (Generates the first random number in sequence 1.)
* Changing to a different sequence or generating a totally random number
(without an argument) initialises the sequence.
------------------------------------------------------
Question though, why would you want to use a sequence of numbers which are the same
every time, and how does it generate a truly random number anyway?
#3
Posted 02 October 2006 - 10:14 AM
"random number in sequence 1": I cant translate it
#4
Posted 02 October 2006 - 04:59 PM
Who needs that?
The sense of a random number is ... errr ... to be just a RANDOM number !
If you need random numbers to test some function, then you modify the function and want to see the diff on the same data set...
If you don't need it, just don't enter any argument to have the same Ran# as the previous calcs...
afx also has the same optionnal argument
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users