<div class="row">
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Stochastic Gradient Nose Hoover Thermostat</h1>
    </div>

    
    <p>Simulates from the posterior defined by the functions logLik and logPrior using
 stochastic gradient Nose Hoover Thermostat.
 The thermostat step needs a dot product to be calculated between two vectors.
 So when the algorithm uses parameters that are higher order than vectors 
 (e.g. matrices and tensors), the thermostat step uses a tensor contrac