value to evaluate LPDF
import mir.math.common: approxEqual, log; assert(0.5.normalLPDF.approxEqual(log(normalPDF(0.5)))); assert(0.5.normalLPDF(0, 1.5).approxEqual(log(normalPDF(0.5, 0, 1.5)))); assert(1.5.normalLPDF(1, 3).approxEqual(log(normalPDF(1.5, 1, 3))));
Computes the normal log probability density function (LPDF)