Woolz Image Processing  Version 1.7.5
AlgComplexUtils.c File Reference

Provides basic complex number utilities. More...

Functions

double AlgCModSq (ComplexD z)
 Computes the square of the modulus of the given complex value. More...
 
double AlgCMod (ComplexD z)
 Computes the modulus of the given complex value. More...
 
double AlgCArg (ComplexD z)
 Computes the argument of the given complex value. More...
 
double AlgCRe (ComplexD z)
 Returns the real component of the given complex value. More...
 
double AlgCIm (ComplexD z)
 Returns the imaginary component of the given complex value. More...
 
ComplexD AlgCConj (ComplexD z)
 Returns the complex conjugate of the given complex value. More...
 
ComplexD AlgCAdd (ComplexD z1, ComplexD z2)
 Computes the sum of the two given complex values. More...
 
ComplexD AlgCSub (ComplexD z1, ComplexD z2)
 Subtracts the second complex value from the first. More...
 
ComplexD AlgCMult (ComplexD z1, ComplexD z2)
 Multiplies the second complex value with the first. More...
 
ComplexD AlgCDiv (ComplexD z1, ComplexD z2)
 Divides the first complex value by the second. More...
 
ComplexD AlgCPow (ComplexD z, double y)
 Pomputes the value of the given complex value to the power of the given real value. More...
 

Detailed Description

Provides basic complex number utilities.

Author
Richard Baldock
Date
March 1999
Version
Id
0b1bdc2b9c3c2fdaeed27923d4f5011528348e6d
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.