V_nfree
FunctionDe-allocate memory occupied by one or more vectors.
Syntax C/C++#include <VecLib.h>
void V_nfree( unsigned numfree, ... );
Pascal/DelphiThis function is absent.
CUDA function C/C++#include <cudaVecLib.h>
void cudaV_nfree( unsigned numfree, ... );
DescriptionThe parameter numfree "tells" the function how many vectors it has to free. These vectors follow in the parameter list after numfree. De-allocation of vectors not allocated by one of the functions of the VF_vector or VF_vector0 family is discouraged, especially in Windows programs.
Pascal/Delphi: since a variable number of parameters is not supported in Pascal language, this function is missing.
Example C/C++V_nfree( 3, X, Y, Z );
Return valuenone
See alsoV_free,   V_freeAll,   VF_vector,   VF_vector0

VectorLib Table of Contents  OptiVec home