Andorra Suite Documentation

Unit AuComplex

Unit dependencies

View fullscreen


Unit Complexs This unit implements complex number arithmic, including the basic operations addition, substraction, multiplication, division, magnitude and phase. Copyright: Nils Haeck M.Sc. (email: For more information visit Original date of publication: 10 Mar 2003 **************************************************************** The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.


packed record


function Complex
(Re: single; Im: single): TAuComplex;
function ComplexAdd
(const C1, C2: TAuComplex): TAuComplex;
function ComplexSub
(const C1, C2: TAuComplex): TAuComplex;
function ComplexMul
(const C1, C2: TAuComplex): TAuComplex;
function ComplexScl
(Scale: single; const C: TAuComplex): TAuComplex;
function ComplexMag
(const C: TAuComplex): single;
function ComplexPhase
(const C: TAuComplex): single;


: TAuComplex = (Re: 0.0; Im: 0.0);
Zero value


= array of TAuComplex;
Imaginary part

This page was generated by a documentation system written by Andreas Stoeckel. This system makes use of a modified PasDoc version (download can be found here) and Graphviz.

Get Andorra Commons at Fast, secure and Free Open Source software downloads