@trdant,
is non-linear random number different from general random number?

On Sun, Jun 27, 2010 at 9:36 AM, Anurag Sharma <anuragvic...@gmail.com>wrote:

> int getNum(){
>  int arr[]={104,105,106,108};
>  return arr[(int)(Math.random()*4)];
> }
>
> Anurag Sharma
>
>
>
> On Sat, Jun 26, 2010 at 8:43 PM, trdant <trd...@gmail.com> wrote:
>
>> I have the following sequence of integers: 104,105,106,108 and need to
>> write a Java statement to randomly produce one of these numbers.  I
>> basically need a non-linear random number generator.  Any ideas?
>>
>> Travis
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algoge...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Thanks,
Chakravarthi.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to