NAME
get_rms_relative_row_error - Returns the RMS relative error of rows and/or entire matrices
SYNOPSIS
#include "m/m_mat_error.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
int get_rms_relative_row_error
(
Vector **result_vpp,
const Matrix *first_mp,
const Matrix *second_mp,
double *error_ptr
);
DESCRIPTION
This routine calculates the RMS relative error of the rows of two dimension
compatable matrices and/or the overall RMS relative error. If result_vpp is
not NULL, then the RMS relative error of corresponding rows are put into
(*result_vpp) which is created or resized as needed. If error_ptr is not
NULL, then the RMS relative error of the entire matrix is put into
(*error_ptr). The relative error of corresponding pairs of number is computed
by their difference normalized by their average.
RETURNS
NO_ERROR on success, and ERROR on failure (not very likely--currently
impossible). Note that sending in matrices with incompatable dimensions is
regarded as a bug. (See set_bug(3)).
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
get_rms_row_error
,
get_rms_col_error
,
get_rms_relative_col_error