Probability density function for each element of x.
x
Array pdfArray(Array x) => Array(x.map(pdf).toList());