| Visual Basic (Declaration) | |
|---|---|
| Public Shared Sub AddSumOfPowerTerms( _ ByVal powerTermCoeff() As Double, _ ByVal powerTermExponents() As Double _ ) | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| 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).
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.
 
  
  
  
 