1 item found: Search results for "mandelbrot set" in all categories x
May 25, 2016 | Software Consultancy
In this post I’m going to demonstrate the implementation of Complex
, a Kotlin class handling complex numbers, which uses operator overloading to provide the usual arithmetic operations for those numbers. In the process, I’ll also demonstrate a Kotlin pattern which I call “complicit conversion”, and show how to implement complicit conversion between two types: Double
and Complex
.