Definition at line 160 of file samplers.py.
◆ result
◆ __init__()
| python.samplers.GaussianSampler.__init__ |
( |
| self, |
|
|
| mean, |
|
|
| sigma ) |
Definition at line 163 of file samplers.py.
163 def __init__(self, mean, sigma):
164 self.mean = float(mean)
165 self.sigma = float(sigma)
166
◆ __call__()
| python.samplers.Sampler.__call__ |
( |
| self | ) |
|
|
inherited |
This is the call method that will actually be used (so that normal
functions can also be passed in as samplers).
Definition at line 17 of file samplers.py.
17 def __call__(self):
18 """This is the call method that will actually be used (so that normal
19 functions can also be passed in as samplers)."""
20 return self.shoot()
21
◆ shoot()
| python.samplers.GaussianSampler.shoot |
( |
| self | ) |
|
◆ mean
| python.samplers.GaussianSampler.mean = float(mean) |
◆ sigma
| python.samplers.GaussianSampler.sigma = float(sigma) |
The documentation for this class was generated from the following file: