diff options
author | Dennis Kobert <d-kobert@web.de> | 2017-08-22 14:20:50 +0200 |
---|---|---|
committer | Dennis Kobert <d-kobert@web.de> | 2017-08-22 14:20:50 +0200 |
commit | d860609a2c54523d2103d3a9ea156bc72c398bc8 (patch) | |
tree | 829607ffb231917a2e0ece427dd62e72f3705231 /DiscoBot/imaginary.cs | |
parent | 90285f40e5a5a51bc51cb972963f56f630bc2792 (diff) |
tidied up
Diffstat (limited to 'DiscoBot/imaginary.cs')
-rw-r--r-- | DiscoBot/imaginary.cs | 33 |
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); - } - } -} |