R/ehmc.R
longest_batch.Rd
Find the longest batch for a singe position
longest_batch(gradient, position, momentum, step_size, n_steps, d)