c++ random numbers
![]() ![]() ![]() |
c++ random numbers
Deepone |
![]()
Post
#1
|
||
The One Deep Down ![]() ![]() ![]() ![]() ![]() Group: Private Member Posts: 1137 Joined: 12-May 04 From: Masala / Kirkkonummi / Finland Member No.: 101 ![]() |
I found out this usefull class after searching for a bit, so I thought to let you all know about its existence :) couldnt get normal means to work well so.. here's anyway a quote from the .h:
'http://finmath.uchicago.edu/~wilder/Code/random/ <- it can be seen here :) I had to make a bit of tweaking to make it compile on my university's g++ compiler which enforces pretty strict rules for ANSI-C++ and such things, for those who are interested.. the modified .h is available here (just removed the static consts and initiated the double's in the constructor): 'http://lair.ton.tut.fi/nforums/rng.h (I'm not sure if I should put this to news instead, this isnt really a support request but rather sharing a solution to something) This post has been edited by Deepone: Jun 13 2004, 06:47 PM -------------------- This person is best talked to with the help of a computer..
|
||
captbics |
![]()
Post
#2
|
![]() nFm [ Level 1 ] ![]() ![]() ![]() Group: Full Member Posts: 217 Joined: 24-April 04 Member No.: 90 ![]() |
Thanks DeepOne...I filed that away. I'm very new to C, and every example helps.
captbics -------------------- O Captain! my Captain! our fearful trip is done,
The ship has weather'd every rack, the prize we sought is won... (Dead Poet's Society) (Walt Whitman) |
Bearsland |
![]() ![]()
Post
#3
|
||
![]() Grumpy Old Man ![]() ![]() ![]() ![]() Group: VIP Member Posts: 494 Joined: 17-March 04 Tournaments Won: 2 From: London. UK Member No.: 4 ![]() |
No, it's in the right place mate. It's not news and the software/hardware forums are not just for support, but also for general discussion or software solutions and tips/tricks like this one. ~Bear :) |
||
Deepone |
![]()
Post
#4
|
The One Deep Down ![]() ![]() ![]() ![]() ![]() Group: Private Member Posts: 1137 Joined: 12-May 04 From: Masala / Kirkkonummi / Finland Member No.: 101 ![]() |
good to hear that mate :) if I'll come by with something, I will post it up.. :)
-------------------- This person is best talked to with the help of a computer..
|
![]() ![]() ![]() |
Lo-Fi Version | Time is now: 2nd July 2025 - 05:28 AM |