complex_get_vector_element_magnitudes - Computes magnitudes of the elements of a complex vector
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
const Vector *in_re_mp,
const Vector *in_im_mp
This routine computes the magnitude of the elements of a complex vector
represented as a pair of vectors. All non-null vectors must be the same
size. If one of a pair of vectors is NULL, then it is treated as zero. If
both vectors of a pair are NULL, then the result is two NULL vectors.
The first argument is a pointer to target a vector. If it is null, then a
vector of the appropriate size is created. If it is of the wrong size, it is
resized. Finally, if they are the right size, then the storage is recycled,
NO_ERROR on success, and ERROR on failure, with an error message being
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.