Complex

From Mesham
Revision as of 13:04, 13 January 2013 by Polas (talk | contribs) (Created page with '== Overview == The ''complex'' type variable is defined within the mathematical library to represent a complex number with real and imaginary components. This is built from a [[…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

The complex type variable is defined within the mathematical library to represent a complex number with real and imaginary components. This is built from a record type with both components as doubles.

Example

#include <maths>
var a:complex;
a.i:=19.65;
a.r:=23.44;