read_vector_vector - Reads a vector vector from file
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
const char *file_name
This routine reads a vector vector from a file. If the file_name is NULL or
a null string, then stdin is assumed. If this is the case, and if the source
is not a file (i.e. a pipe), then this routine will fail.
In theory, and in parallel with other routines such as read_matrix, several
read strategies are tried until one succeeds. However, only one strategy is
currently implemented. Specifically we assume that
the file is a formatted ascii file, and the vector vector dimensions are
deduced from the number of rows and columns (see also
The vector vector *result_vvpp is created or resized as necessary.
"file_name" points to a character array specifying the name of the file
to read the data from. If the "file_name" argument is NULL or the
first character is null, input is retrieved from STDIN. If STDIN is
not a redirected file, an error message will be generated.
Either NO_ERROR, or ERROR, with an appropriate error message being set.
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
Lindsay Martin and Kobus Barnard