Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double PowerPDF(double x, double alpha, double beta); | Power distribution probability density function (PDF). |
| 2 | void PowerPDF(TDenseMtxVec *X, double alpha, double beta, TDenseMtxVec *Res); | Power distribution PDF (vectorized). |
Overload 1: double PowerPDF(double x, double alpha, double beta);
Power distribution probability density function (PDF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | x | double | Function domain, real value on closed interval [0, 1/beta]. |
| 2 | alpha | double | Distribution shape parameter, real positive value. |
| 3 | beta | double | Distribution scale parameter, positive real value. |
Returns: Power distribution PDF, evaluated at x using parameters alpha and beta. alpha and beta must be positive and 0 <= x <= 1/beta, otherwise the result is NAN.
Remarks:
The power-function distribution probability density function is
PDF(x| alpha,beta)=alpha beta^(alpha) x^(alpha-1), 0 <= x <= 1/beta
Domain: 0 <= x <= 1/beta, alpha > 0, beta > 0. Outside this range (or for non-positive alpha or beta) the result is NAN.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void PowerPDF(TDenseMtxVec *X, double alpha, double beta, TDenseMtxVec *Res);
Power distribution PDF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TDenseMtxVec * | Distribution domain, positive real values on closed interval [0,1/beta]. |
| 2 | alpha | double | Distribution shape parameter, real positive value.. |
| 3 | beta | double | Distribution scale parameter, positive real number. |
| 4 | Res | TDenseMtxVec * | After calculation stores the PDF calculated from X, alpha and beta. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler