CPolynomial:Remove
The Remove method removes the coefficient at index n.
value = CPolynomial:Remove( n ) |
The following script fragment removes the value at index 3:
|
-- create a CPolynomial object |
|
-- set coef[0] |
|
-- set coef[3] |
|
-- result: N = 2 |
|
-- remove coef[3] |
|
-- result: N = 1, x=-0.0045 |