Click or drag to resize
Accord.NET (logo)

MetropolisHastingTTryGenerate Method

Attempts to generate a new observation from the target distribution, storing its value in the Current property.

Namespace:  Accord.Statistics.Distributions.Sampling
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public bool TryGenerate()
Request Example View Source

Return Value

Type: Boolean
True if the sample was successfully generated; otherwise, false.
See Also