CPolynomial:new CPolynomial:Copy

CPolynomial:delete


The delete method deletes an instance of the CPolynomial class. Call delete when you are finished using the instance of this class. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CPolynomial:delete()

Example

 

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.

Related Topics

CPolynomial, new