when I program a method,the function of "z_uniform(i, j, k )" will be used to achieve certain goals. however ,I have no idea about it and I cannot find it in the "context help".Could you explain how to use it in detail,What's more ,what does the parameters ( i, j, k) mean in the functions ,what values it will return?
Looking forward to your directions !
Any help is great apprecitated!
Solved! Go to Solution.
Firstly,Thank you for your quick feedback!
Then,Must the parameter "start"(j) be less than the parameter "stop"(k)? or they are have no relation,namely ,they are respective?
I'm starting to learn the methods for simulation ... I still do not understand exactly how to set the seed value. Can it be any number? If not, how do I decide which number will be my seed value, when I'm defining a method to generate a random number in a range of 1 to 10, for example?
The seed value is for creating different random number streams
so that for instance in a model with different random number generators
( e.g. for generation of failures on simulation objects ) the failures will not be generated at the same time
and have the same length.
Therefore you can set in your model a unique seed value by your self e.g. 1.
The seed value has an impact on the generated random numbers in between the defined range
but not on the range itself.