db_cv - (MACRO) Debug printing of a vector
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
void db_cv(const Vector *vp);
This macro prints a vector as a column vector, along with the variable name,
file, and line number on standard error. Its behaviour is a function of the
debugging level, which can be set through the option "debug" if the KJB
library options are being made available to the user. The macro is available
for both development and production code, but since the default debug level
is different in the two cases, the behaviour is different. The default level
for development code is 2, whereas for production code it is 0.
If the debug level is 2 (or more), then the output is printed to standard
error using regular KJB library output routines.
If the debug level is 1, then the output is printed to standard error using
standard C library routines instead of regular KJB library routines. This
facility is provided for KJB library I/O routines themselves.
If the debug level is 0 (default for production code), then the output is
dbm, dbo, dbp, dbx, dbc, dbf, dbi, dbr, dbw, dbe, dbs
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.