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.pdfmeant to enable automatic differentation withdelicatessen. When the input is aPrimalTangentPairsobject, then an internal function that implements the PDF function is called. Otherwise,scipy.stats.norm.pdfis called for the input object.- Parameters
x (int, float, ndarray) – Real valued input
- Returns
Return type depends on the input type (
PrimalTangentPairswill returnPrimalTangentPairs, otherwise willreturn
ndarray).