Package com.imsl.stat.distributions
Interface PDFGradientInterface
- All Known Subinterfaces:
PDFHessianInterface
- All Known Implementing Classes:
BinomialPD,ContinuousUniformPD,DiscreteUniformPD,ExponentialPD,ExtremeValuePD,GeometricPD,InverseGaussianPD,LogisticPD,LogLogisticPD,LogNormalPD,NegativeBinomialPD,NormalPD,ParetoPD,PoissonPD,RayleighPD,WeibullPD
public interface PDFGradientInterface
A public interface for probability distributions that provide a method
to calculate the gradient of the density function
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]getPDFGradient(double x, double... params) Returns the gradient of the probability density function.
-
Method Details
-
getPDFGradient
double[] getPDFGradient(double x, double... params) Returns the gradient of the probability density function.- Parameters:
x- adoublevalueparams- adoublearray or a comma-separated list of doubles giving the values of the parametersNote: The argument
paramsis a variable length argument list (varargs).- Returns:
- a
doublearray equal to the first partial derivatives of the probability density function with respect to the parameters evaluated at X=x
-