dist-ssdFit function

Fit density using smoothing splines