Numeric routines Vectors Selection of and access to parts Initialization

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 "at" uni-graz.at, May 26, 2011

Numeric routines Vectors Selection of and access to parts Uni-Graz Mathematik Initialization Valid HTML 4.0 Transitional Valid CSS!