NAME

complex_multiply_matrices - Multiplies pairs of matrices representing complex matrices

SYNOPSIS

#include "x/x_matrix.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 complex_multiply_matrices
(
	Matrix **out_re_mpp,
	Matrix **out_im_mpp,
	const Matrix *in_re1_mp,
	const Matrix *in_im1_mp,
	const Matrix *in_re2_mp,
	const Matrix *in_im2_mp
);

DESCRIPTION

This routine multiplies pairs of matrices representing complex matrices. If one of a pair of matrices are NULL, then it is treated as zero. If both matrices of a pair are NULL, then the result is two NULL matrices. The first two arguments are pointers to target matrices. If they are null, then matrices of the appropriate size is created. If they are of the wrong size, it is resized. Finally, if they are the right size, then the storage is recycled, as is.

RETURNS

NO_ERROR on success, and ERROR on failure, with an error message being set.

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

complex_multiply_matrices_ew , complex_divide_matrices_ew , complex_get_magnitude_matrix_ew , complex_get_phase_matrix_ew