|
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
)
Protected Sub Initialize (
dimensions As Integer,
logDensity As Func(Of T(), Double),
proposal As Func(Of T(), T(), T())
)
Request Example
View SourceParameters
- dimensions
- Type: SystemInt32
- logDensity
- Type: SystemFuncT, Double
- proposal
- Type: SystemFuncT, T, T
See Also