Trees | Indices | Help |
|
---|
|
This is for the common case where logp is a well-behaved function of
its arguments. It caches positions and their corresponding values of
log(P)
.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
position_base or a subclass |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
You need this function and this signature if you are going to pass it to make_list_of_positions(), but not necessarily otherwise.
|
This can be called when the mapping between parameters (x) and value changes. You might use it if you wanted to change the probability distribution (i.e. log(P)). |
Compute the log of the probability for the position.
|
Shows a recent logp value. It should not compute a value unless necessary. The intent is to look up a value in a cache.
|
Returns a new position, shifted by the specified amount.
|
repr(x)
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:06 2011 | http://epydoc.sourceforge.net |