delicatessen.utilities.standard_normal_pdf

standard_normal_pdf(x)

Probability density function for the standard normal distribution. This is a wrapper function of scipy.stats.norm.pdf meant to enable automatic differentation with delicatessen. When the input is a PrimalTangentPairs object, then an internal function that implements the PDF function is called. Otherwise, scipy.stats.norm.pdf is called for the input object.

Parameters

x (int, float, ndarray) – Real valued input

Returns

  • Return type depends on the input type (PrimalTangentPairs will return PrimalTangentPairs, otherwise will

  • return ndarray).