WebCab Probability and Statistics for .NET v3.6

FactorModel.AddRationalSumOfPowerTerms Method 

Adds a rational expression where the numerator and denominator are both themselves a sum of power terms as defined within AddSumOfPowerTerms to the function basis.

public void AddRationalSumOfPowerTerms(
   double[] upperCoeff,
   double[] upperExp,
   double[] lowerCoeff,
   double[] lowerExp
);

Parameters

upperCoeff
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) which make up the numerator.
upperExp
An array where the k-th term is the exponent and the variable of the (k+1)-th power term (i.e. nk) which make up the numerator.
lowerCoeff
An array where the k-th term is the coefficient of the (k+1)-th term of the sum of power terms (i.e. bk) which make up the denominator.
lowerExp
An array where the k-th term is the exponent and the variable of the (k+1)-th power term (i.e. mk) which make up the denominator.

Remarks

That is, the rational sum of the power terms takes the form:

( (a1 * xn1) + ... + (ap * xnp) ) / ( (b1 * xm1) + ... + (bq * xmq) ),

where a1,..., an, n1,..., np, b1,..., bq, m1,..., mq are real numbers and x is the real variable.

See Also

FactorModel Class | WebCab.Libraries.Statistics.CurveFitting Namespace