dotnetCHARTING Send comments on this topic.
AddSumOfPowerTerms Method
See Also 
dotnetCHARTING Namespace > ForecastEngine.Options Class : AddSumOfPowerTerms Method


powerTermCoeff
An array where the k-th term is the coefficient of the (k+1)-th term of the sum of power terms (i.e. a_k).
powerTermExponents
An array where the k-th term is the exponent and the variable of the (k+1)-th power term (i.e. n_k).
Adds a sum of power terms as an element of the function basis.

Syntax

Visual Basic (Declaration)  
Public Shared Sub AddSumOfPowerTerms( _
   ByVal powerTermCoeff() As Double, _
   ByVal powerTermExponents() As Double _
) 
Visual Basic (Usage) Copy Code
Dim powerTermCoeff() As Double
Dim powerTermExponents() As Double
 
ForecastEngine.Options.AddSumOfPowerTerms(powerTermCoeff, powerTermExponents)
C#  
public static void AddSumOfPowerTerms( 
   double[] powerTermCoeff,
   double[] powerTermExponents
)

Parameters

powerTermCoeff
An array where the k-th term is the coefficient of the (k+1)-th term of the sum of power terms (i.e. a_k).
powerTermExponents
An array where the k-th term is the exponent and the variable of the (k+1)-th power term (i.e. n_k).

Remarks

The sum of power terms will take the follow form:

(a_1 * x^n_1) + ... + (a_m * x^n_p),

where a_1,..., a_n, n_1,..., n_p are arbitrary real numbers.

See Also