Click or drag to resize
Accord.NET (logo)

MetropolisHastingTInitialize Method

Initializes the algorithm.

Namespace:  Accord.Statistics.Distributions.Sampling
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
protected void Initialize(
	int dimensions,
	Func<T[], double> logDensity,
	Func<T[], T[], T[]> proposal
)
Request Example View Source

Parameters

dimensions
Type: SystemInt32
logDensity
Type: SystemFuncT, Double
proposal
Type: SystemFuncT, T, T
See Also