NAME

max_abs_vector_difference - Returns the max absolute difference between two vectors

SYNOPSIS

#include "m/m_vec_metric.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 


double max_abs_vector_difference
(
	const Vector *first_vp,
	const Vector *second_vp
);

DESCRIPTION

This routine calculates the maximum of the absolute value of the difference of corrresponding elements of two vectors.

RETURNS

The distance between the two matrices, or a negative number if there is an error (not very likely--currently impossible). Note that sending in vectors of difference lengths is regarded as a bug. (See set_bug(3)). If both arguments equal NULL then the difference returned is (still) zero.

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_vector_angle_in_degrees , get_vector_angle_in_radians , get_dot_product , vector_distance , vector_distance_sqrd