A note on positive definite functions