Closed srambhatla closed 9 years ago
Random numbers currently have a fixed seed. Would be nice to have a command to control it. For e.g. MATLAB has rng for this.
MATLAB
rng
Closed.
A new global variable was defined in numbers.swift called SWIX_SEED. The call to LAPACK's dlarv updates the seed each time (the reason this fix wasn't as simple as I thought).
numbers.swift
SWIX_SEED
dlarv
Random numbers currently have a fixed seed. Would be nice to have a command to control it. For e.g.
MATLAB
hasrng
for this.