v1.2.0
Functional changes
-
The neworder Monte-Carlo engine can now be used directly as a numpy random generator, giving access to all of numpy's random functionality. Create a generator via the
as_np
adapter method, e.g.:model = no.Model(no.NoTimeline(), no.MonteCarlo.deterministic_identical_stream) gen = no.as_np(model.mc) normals = gen.normal(size=100)
-
MonteCarlo.state()
method now works on OSX (was previously disabled due to an apparent bug in the MT19937 implementation).
Internal
- numerous minor updates
- use C++20 standard