CPolynomial:Set
The Set method sets a coefficient index to a target value. The index begins at 0.
CPolynomial:Set( index, value ) |
The following script fragment sets 2 of the coefficient values. Other coefficients, such as Coef[3], remains undefined:
|
-- create a CPolynomial |
|
-- set coef[4] |
|
-- set coef[1] |
|
-- result: coef[3] = 0 |