CPolynomial Class Description (Legacy Class)
The CPolynomial class manages a list of coefficient values. This class is used by some methods such as CImage:ScalePolyVal which require a coefficient set as input. The most typically used methods are Set and Get to add and retrieve coefficients, respectively. The coefficients are indexed relative to 0, i.e., coef[0] is the lowest (zero order, or constant) term.
NOTE: This is a legacy class last used several major versions ago. Do not use it in new scripts.
Construction |
Object = CPolynomial:new() |
Destruction |
Object:delete() |
Creates a new instance of the CPolynomial class. |
|
Deletes the instance of the CPolynomial object. |
|
Copies the CPolynomial to a new CPolynomial object. |
Returns the number of coefficients in the list. |
|
Empties all coefficients from the set. |
|
Returns true if a coefficient at index has been initialized. |
|
Returns the coefficient value at an index. |
|
Initializes some number of coefficients to a value. |
|
Returns the maximum order coefficient that is initialized. |
|
Removes the coefficient value at an index. |
|
Sets the coefficient value at an index. |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.