SERVING THE QUANTITATIVE FINANCE COMMUNITY

Search found 6 matches

by oas
August 24th, 2015, 7:22 pm
Forum: Programming and Software Forum
Topic: -frandom-seed=
Replies: 7
Views: 4128

-frandom-seed=

<t>Manuals are quite handy for this kind of thing.This option provides a seed that GCC uses in place of random numbers ingenerating certain symbol names that have to be different in every compiledfile. It is also used to place unique stamps in coverage data files and the objectfiles that produce the...
by oas
April 22nd, 2015, 5:46 pm
Forum: Brainteaser Forum
Topic: Stupid brainteaser
Replies: 16
Views: 8119

Stupid brainteaser

<r>A nice explanation of the leap year part of the algorithm is here: <URL url="http://stackoverflow.com/questions/3220163/how-to-find-leap-year-programatically-in-c"><LINK_TEXT text="http://stackoverflow.com/questions/3220 ... cally-in-c">http://stackoverflow.com/questions/3220163/how-to-find-leap-...
by oas
April 22nd, 2015, 1:04 pm
Forum: Brainteaser Forum
Topic: Stupid brainteaser
Replies: 16
Views: 8119

Stupid brainteaser

The person that should be fired is the one that wrote the code.
by oas
November 13th, 2014, 7:54 pm
Forum: Programming and Software Forum
Topic: CSharp ConcurrentQueue problem
Replies: 10
Views: 4017

CSharp ConcurrentQueue problem

<t>Each worker asks if the queue is not empty and then goes to sleep. During the sleep time the queue is emptied for some of the workers and they have nothing to return. Docs say the following regarding TryDequeue:When this method returns, if the operation was successful, result contains the object ...
by oas
May 13th, 2014, 1:36 pm
Forum: Numerical Methods Forum
Topic: Sobol Sequence for Monte Carlo
Replies: 23
Views: 8001

Sobol Sequence for Monte Carlo

<t>You are missing the point of using Sobol sequences. You don't need 600 sequences. The idea behind Sobol is that you can generate a single deterministic sequence that will generate a better result than a bunch of traditionally randomly generated paths. There are ways of randomizing a sobol sequenc...
by oas
May 13th, 2014, 1:10 pm
Forum: Numerical Methods Forum
Topic: Sobol Sequence for Monte Carlo
Replies: 23
Views: 8001

Sobol Sequence for Monte Carlo

Sobol sequences are deterministic. There is no randomness - same answer every time is what you should expect.
GZIP: On