Search found 1 match

by rcrist
Sun Dec 04, 2011 9:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Complex Number Math
Replies: 0
Views: 1527

Complex Number Math

Here is a complex number math library using a 2-element array as the real and imaginary part of the number. Anyone have another way to handle complex math?

function Complex x,y
local CResult

put x into CResult[1]
put y into CResult[2]
return CResult
end Complex

function CAdd a,b
local ...