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


logCoeff
An array where the k-th term is the coefficient of the whole k-th logarithm term within the sum.
coefficient
An array where the k-th term is the coefficient of the variable within the k-th logarithm term within the sum (i.e. coefficient as shown above).
constant
An array where the k-th term is the constant shift of the logarithm function of the k-th term within the sum (i.e. the constant term as shown above).
exponent
An array where the k-th term is the exponent of the logarithm term within the k-th element of the sum (i.e. n as shown above).
Adds a sum of (natural) log functions to be used as non-linear basis elements.

Syntax

Visual Basic (Declaration)  
Public Shared Sub AddNonLinearLogarithmicSum( _
   ByVal logCoeff() As Double, _
   ByVal coefficient() As Double, _
   ByVal constant() As Double, _
   ByVal exponent() As Double _
) 
Visual Basic (Usage) Copy Code
Dim logCoeff() As Double
Dim coefficient() As Double
Dim constant() As Double
Dim exponent() As Double
 
ForecastEngine.Options.AddNonLinearLogarithmicSum(logCoeff, coefficient, constant, exponent)
C#  
public static void AddNonLinearLogarithmicSum( 
   double[] logCoeff,
   double[] coefficient,
   double[] constant,
   double[] exponent
)

Parameters

logCoeff
An array where the k-th term is the coefficient of the whole k-th logarithm term within the sum.
coefficient
An array where the k-th term is the coefficient of the variable within the k-th logarithm term within the sum (i.e. coefficient as shown above).
constant
An array where the k-th term is the constant shift of the logarithm function of the k-th term within the sum (i.e. the constant term as shown above).
exponent
An array where the k-th term is the exponent of the logarithm term within the k-th element of the sum (i.e. n as shown above).

Remarks

Where each of the elements of the sum given will take the following form:

logCoeff * logn (coefficient * x + constant))

See Also