CLsqFit:new CLsqFit:SetBasisFunc

CLsqFit:delete


The delete method deletes an instance of the CLsqFit class. Typically, the object should be deleted when you are finished using it in order to release memory used by the object. Note that Mira automatically deletes all class objects when the script finishes.

Syntax

CLsqFit:delete()

Remarks

This method deletes the instance of the CLsqFit object. Conversely, if you want to delete all the sample data but keep the CLsqFit object and its properties intact, use ResetPoints instead.

Example

This example creates a CLsqFit object, then deletes it.

 

L = CLsqFit:new()

-- create a new instance of the CLsqFit class.

  ...

-- do something with the CLsqFit object.

L:delete()

-- delete the object and its associated memory.

Related Topics

CLsqFit class, new, ResetPoints