Difference between revisions of "Complex"
From Mesham
Jump to navigationJump to search (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 [[…') |
m |
||
Line 9: | Line 9: | ||
a.i:=19.65; | a.i:=19.65; | ||
a.r:=23.44; | a.r:=23.44; | ||
+ | |||
+ | ''Since: Version 1.0'' | ||
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:Maths Functions]] | [[Category:Maths Functions]] |
Revision as of 18:30, 13 January 2013
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;
Since: Version 1.0