comp • gb.gsl • polynomial • _new

New Polynomial (gb.gsl)

Dim hPolynomial As Polynomial
hPolynomial = New Polynomial ( [ Size As Integer, Complex As Boolean ] )

Create a new polynomial.

  • Size is the estimated number of coefficients. It is one by default.

  • Complex is TRUE if the coefficients will be complex numbers.

Note that these arguments are not restricting, as the internal array that stores the coefficient grows automatically, and that the coefficients are automatically converted to complex numbers as needed.