Open 994374821 opened 5 years ago
pdf is probability distribution function, pdf[0] = 0 means the value in first bin of pdf is zero. filter_pdf is the smooth version of pdf. We extend some bins at the begin/end side of pdf to make the filter_pdf computation more convenient. That's it.
`
` the pdf[0] will be 0 after line14, why set pdf[0] to 0? Does it make sence?