![]() |
Example CpxVector new 015
|
Notes and Hints If a reference to an existing object is modified to point to a new object
(as shown in the above examples), the reference count on the previous object
on the heap will be decremented. If the count goes to zero, the object's allocated
memory area will automatically be reclaimed by the garbage collector. If the returned value from new or make new is not captured, (e.g. using setq),
then the newly created heap object will not have any reference to it and, thus,
will soon be swept away by the garbage collector. The space required to hold the complex number data (not including headers, etc.)
is twice the size of a double. Internally, the real part of each complex number
is stored as the first double and the imaginary part is stored as the
second double.
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Here are examples of the new function at work.
Here is the link to the current function used in this example.
Here are a number of links to other related functions.
setq(#void) | define(#void) |
Here are the links to the data types of the arguments used in this example. Here are a number of links to examples having similar argument types.
CpxVector
![]() |
Analytic Information Server (AIS)AIS Component Systems
|