pdf method

num pdf(
  1. num x
)

Gives the normal probability density at x.

Implementation

num pdf(num x) =>
    _standardDensity((x - mean) / standardDeviation) / standardDeviation;