Function to intitialize a vector by allocating memory.
- Parameters:
-
n | : number of entries in vector |
From GSL manual, This function creates a vector of length n, returning a pointer to a newly initialized vector struct. A new block is allocated for the elements of the vector, and stored in the block component of the vector struct. The block is �owned� by the vector, and will be deallocated when the vector is deallocated.
- Author:
- Ramin Nakisa, Marcel Bosc, Rochan R. Upadhyay etc.