Package gmisclib :: Module mcmc_idxr :: Class Fixed
[frames] | no frames]

Class Fixed

source code


This is essentially a delta-function probability distribution. Use this for fixed parameters.


Note: Software that uses this should ignore logdens.

Instance Methods
 
__init__(self, value)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
float
__call__(self)
Sample from the probability distribution.
source code
 
__doc__(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  logdens = None
hash(x)
Properties

Inherited from object: __class__

Method Details

__init__(self, value)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__call__(self)
(Call operator)

source code 

Sample from the probability distribution.

Returns: float
the sample
Overrides: probdist_c.__call__
(inherited documentation)

__doc__(self)

source code 
Decorators:
  • @property