comp
•
gb.gsl
•
polynomial
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Polynomial (gb.gsl)
This class implements a
polynomial
with real or complex coefficients.
This class is
Create a new polynomial.
creatable
.
This class can be used as a
Evaluate the polynomial, i.e. return the value of the polynomial for a given value of
X
.
function
.
This class acts like a
Return the coefficient of the
Index
^{th}
degree.
read
/
Set the coefficient of the
Index
^{th}
degree.
write
array.
Properties
Methods
Return the maximum number of coefficients.
Count
Return the polynomial degree, i.e. the index of its greatest non-null coefficient.
Degree
Evaluate the polynomial, i.e. return the value of the polynomial for a given value of
X
.
Eval
Return the polynomial roots, i.e. solve the following equation:
P(x) = 0
, provided that the polynomial coefficient are reals.
Solve
Return the string representation of a polynomial.
ToString