The PDF of a General Function