HybridMCGenericTUpdate Method | 
            Method used to update the sample location. Used in the end of the loop.
            
Namespace: Altaxo.Calc.Statistics.McmcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3261.0 (4.8.3261.0)
Syntaxprotected void Update(
	ref double e,
	ref T gradient,
	T mNew,
	T gNew,
	double enew,
	double dh
)
Parameters
- e  Double
 - The old energy.
 - gradient  T
 - The old gradient/derivative of the energy.
 - mNew  T
 - The new sample.
 - gNew  T
 - The new gradient/derivative of the energy.
 - enew  Double
 - The new energy.
 - dh  Double
 - The difference between the old Hamiltonian and new Hamiltonian. Use to determine
            if an update should take place. 
 
See Also