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

FactorModel.AddPowerTerm Method 

Add a power term as an element of the function basis (f(x)).

public void AddPowerTerm(
   double coefficient,
   double exponent
);

Parameters

coefficient
A double which is the coefficient of the term (i.e. a above).
exponent
A double which is the exponent of the variable of the term (i.e. n above).

Remarks

This elements will take the follow form:

f(x) = a * xn,

where a, n are arbitrary real numbers.

See Also

FactorModel Class | WebCab.Libraries.Statistics.CurveFitting Namespace