Hybrid |
public abstract class HybridMCGeneric<T> : McmcSampler<T>
The HybridMCGenericT type exposes the following members.
| Name | Description | |
|---|---|---|
| HybridMCGenericT | Constructs a new Hybrid Monte Carlo sampler. |
| Name | Description | |
|---|---|---|
| AcceptanceRate |
Gets the acceptance rate of the sampler.
(Inherited from McmcSamplerT) | |
| BurnInterval | Gets or sets the number of iterations in between returning samples. | |
| FrogLeapSteps | Gets or sets the number of iterations in the Hamiltonian equation. | |
| RandomSource |
Gets or sets the random number generator.
(Inherited from McmcSamplerT) | |
| StepSize | Gets or sets the size of each step in the Hamiltonian equation. |
| Name | Description | |
|---|---|---|
| Burn | This method runs the sampler for a number of iterations without returning a sample | |
| Copy | Use for copying objects in the Burn method. | |
| Create | Use for creating temporary objects in the Burn method. | |
| DoAdd | Method for adding, multiply the second vector/scalar by factor and then add it to the first vector/scalar. | |
| DoProduct | Method for doing dot product. | |
| DoSubtract | Multiplying the second vector/scalar by factor and then subtract it from the first vector/scalar. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Hamiltonian | Method to compute the Hamiltonian used in the method. | |
| HamiltonianEquations | The Hamiltonian equations that is used to produce the new sample. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| RandomizeMomentum | Method for sampling a random momentum. | |
| Sample |
Returns a sample from the distribution P.
(Overrides McmcSamplerTSample) | |
| Sample(Int32) |
Returns a number of samples.
(Inherited from McmcSamplerT) | |
| SetNonNegative | Method to check and set a quantity to a non-negative value. | |
| SetPositive(Double) | Method to check and set a quantity to a non-negative value. | |
| SetPositive(Int32) | Method to check and set a quantity to a non-negative value. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Update | Method used to update the sample location. Used in the end of the loop. |
| Name | Description | |
|---|---|---|
| Accepts |
Keeps track of the number of accepted samples.
(Inherited from McmcSamplerT) | |
| Current | The current location of the sampler. | |
| Samples |
Keeps track of the number of calls to the proposal sampler.
(Inherited from McmcSamplerT) |