NAME
ow_square_vector_elements - Squares the elements of a vector
SYNOPSIS
#include "m/m_vec_stat.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 ow_square_vector_elements(Vector *source_vp);
DESCRIPTION
This routine calculates element-wise square of a vector, overwriting the input
vector with the result.
RETURNS
NO_ERROR on success, and ERROR on failure, with an error message being
set. THis routine will fail if any of the element of the input vector is
negative.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Ernesto Brau
DOCUMENTER
Ernesto Brau
SEE ALSO
get_vector_mean_square
,
get_vector_mean