normal_dgps: Internal function.
Description
Calculates density and higher order derivatives for Gaussian models.
Usage
normal_dgps(x, v, mean, sd)
Arguments
- x
Scalar, point of evaluation.
- v
Nonnegative integer, the derivative order (0 indicates cdf, 1 indicates pdf, etc.).
- mean
Scalar, the mean of the normal distribution.
- sd
Strictly positive scalar, the standard deviation of the normal distribution.