summaryrefslogtreecommitdiff
path: root/DiscoBot/imaginary.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/imaginary.cs')
-rw-r--r--DiscoBot/imaginary.cs33
1 files changed, 0 insertions, 33 deletions
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);
- }
- }
-}