From d860609a2c54523d2103d3a9ea156bc72c398bc8 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Tue, 22 Aug 2017 14:20:50 +0200 Subject: tidied up --- DiscoBot/imaginary.cs | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 DiscoBot/imaginary.cs (limited to 'DiscoBot/imaginary.cs') diff --git a/DiscoBot/imaginary.cs b/DiscoBot/imaginary.cs deleted file mode 100644 index 9855dc2..0000000 --- a/DiscoBot/imaginary.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DiscoBot -{ - public class imaginary - { - public double re; - public double im; - - public imaginary(imaginary i) - { - this.re = i.re; - this.im = i.im; - } - public imaginary(double r, double i) - { - this.re = r; - this.im = i; - } - - - public void step(imaginary c) - { - double temp = re; - re = (re * re) - (im * im) + c.re; - im = (2.0 * temp * im + c.im); - } - } -} -- cgit v1.2.3-70-g09d2