Andorra Suite Documentation

Unit AuComplex

Unit dependencies

View fullscreen

Description

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: n.haeck@simdesign.nl) For more information visit http://ww.simdesign.nl 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: http://www.mozilla.org/MPL/ 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.

Structures

packed record

Functions

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;

Constants

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

Types

TAuComplexArray
= 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 SourceForge.net. Fast, secure and Free Open Source software downloads