Numeric routinesVectorsSelection of and access to partsInitialization

Initialization

Very often it happens, that you need to initialize the VECTORobject with all entries equal to zero. Here is the corresponding routine:
Example: Here is an example:
...
a = callocobject();
m_il_nv(2L,a);
if (nullp(S_V_I(a,1L)))
printf("the second entry is zero");
freeall(a);
...
will produce the line
the second entry is zero
on the terminal.

harald.fripertinger@kfunigraz.ac.at,
last changed: November 19, 2001

Numeric routinesVectorsSelection of and access to partsInitialization