CPolynomial:delete
The delete method deletes an instance of the CPolynomial class. Call delete when you are finished using the instance of this class.
CPolynomial:delete() |
P = CPolynomial:new() |
-- create a new instance of of the CPolynomial class. |
... |
-- do something with the CPolynomial. |
P:delete() |
-- delete the object and its associated memory. |