WebCab Probability and Statistics for Delphi (.NET) v3.6

FactorModel.AddSumOfPowerTerms Method 

Adds a sum of power terms as an element of the function basis (f(x)).

public void AddSumOfPowerTerms(
   double[] coefficients,
   double[] exponents
);

Parameters

coefficients
An array where the k-th term is the coefficient of the (k+1)-th term of the sum of power terms (i.e. ak).
exponents
An array where the k-th term is the exponent and the variable of the (k+1)-th power term (i.e. nk).

Remarks

The sum of power terms will take the follow form:

f(x) = (a1 * xn1) + ... + (am * xnp),

where a1,..., an, n1,..., np are arbitrary real numbers.

See Also

FactorModel Class | WebCab.Libraries.Statistics.CurveFitting Namespace