NAME
verify_non_negative_matrix - (MACRO) Debug verification of a matrix
SYNOPSIS
#include "m/m_mat_basic.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
void verify_non_negative_matrix(const Matrix_vector *mp);
DESCRIPTION
When TEST is defined (typically this is "development" mode),
verify_non_negative_matrix checks that all elements of a matrix are valid
numbers, AND that they are non-negative. NULL input is considered valid. If
invalid numbers are found, then they are set to zero, and a warning is
printed.
Wen TEST is not defined (typically "production" mode), then
verify_non_negative_matrix becomes a NOP.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTOR
Kobus Barnard
SEE ALSO
verify_matrix_vector
,
verify_non_negative_matrix_vector
,
verify_probability_matrix_vector
,
verify_probability_row_matrix_vector
,
verify_matrix
,
verify_probability_matrix
,
verify_probability_row_matrix