NAME
get_rms_col_error - Computes the RMS error of columns and/or whole matrix
SYNOPSIS
#include "m/m_mat_error.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int get_rms_col_error
(
Vector **result_vpp,
const Matrix *first_mp,
const Matrix *second_mp,
double *error_ptr
);
DESCRIPTION
This routine calculates the RMS error of the columns of two dimension
compatable matrices. Corresponding columns are treated as vectors. For each
such pair we calcluate the error which is the standard vector norm of their
difference. The RMS value of all such errors is put into *error_ptr. In
addition, if result_vpp is not NULL, then the error each componant of the
column are calculated and placed into the vector pointed to by *result_vpp.
The target vector *result_vpp is created or resized if requred.
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
DOCUMENTER
Kobus Barnard
SEE ALSO
get_rms_row_error
,
get_rms_relative_row_error
,
get_rms_relative_col_error