PTMCMCSampler icon indicating copy to clipboard operation
PTMCMCSampler copied to clipboard

Do away with the coordinate transformations inside the GradientJumps

Open vhaasteren opened this issue 8 years ago • 0 comments

The GradientJumps currently implement a coordinate transformation, through the functions: forward, backward, func_grad_white, draw_momenta, loghamiltonian, and posmom_inprod.

In principle, this is unnecessary, if only the functions draw_momenta, loghamiltonian, and posmom_inprod are modified properly. It should be a simple matter of using the right version of cov_cf/cov_cfi and transposes, but somehow I did not get it to work.

The GradientJumps work fine like this, it is just that it looks clumsy.

vhaasteren avatar Apr 01 '16 21:04 vhaasteren