Visual Basic (Declaration) | |
---|---|
Public Shared Sub AddNonLinearExponentialSum( _ ByVal expCoeff() As Double, _ ByVal coefficient() As Double, _ ByVal constant() As Double, _ ByVal exponent() As Double _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static void AddNonLinearExponentialSum( double[] expCoeff, double[] coefficient, double[] constant, double[] exponent ) |
Parameters
- expCoeff
- An array where the k-th term is the coefficient of the whole k-th exponential term within the sum.
- coefficient
- An array where the k-th term is the coefficient of the variable within the k-th exponential term within the sum (i.e.
coefficient
as shown above). - constant
- An array where the k-th term is the constant shift of the exponential 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 exponential term within the k-th element of the sum (i.e.
n
as shown above).
Where each of the elements of the sum given will take the following form:
expCoeff * expn (coefficient * x + constant))