public double logDensity(double value){
  updateMeanAndVariance();
  double val=-0.5 * (CONST + Math.log(m_Variance) + (value - m_Mean) * (value - m_Mean) / m_Variance);
  return val;
}

public double logDensity ( double value ) { updateMeanAndVariance ( ) ; double val = - 0.5 * ( CONST + Math . log ( m_Variance ) + ( value - m_Mean ) * ( value - m_Mean ) / m_Variance ) ; return val ; }
returns the natural logarithm of the density estimate at the given point .
