summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pfunction.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-05-03 17:23:50 +0200
committer couriersud <couriersud@gmx.org>2020-05-03 17:23:50 +0200
commitb2c40086e6b003121e61719da93944f4e360e33d (patch)
tree47e7c257323a89c2e9a529f2c1817fd52d723a50 /src/lib/netlist/plib/pfunction.cpp
parentb5be886e01cd04c410783997dcf8469e1a2733a2 (diff)
netlist: Add two noise sources. [Couriersud]
The two sources act as voltage sources, though noise may also be injected as conductivy or current noise. SYS_NOISE_MT_U: Mersenne Twister uniform noise SYS_NOISE_MT_N: Mersenne Twister normal noise nld_sys_noise is templated: using NETLIB_NAME(sys_noise_mt_u) = NETLIB_NAME(sys_noise)<plib::mt19937_64, plib::uniform_distribution_t>; Thus the approach is scalable. The implementation is state save aware, and thus reproducible results are guaranteed. An example use case is provided as well, see examples/noise.cpp.
Diffstat (limited to 'src/lib/netlist/plib/pfunction.cpp')
0 files changed, 0 insertions, 0 deletions