(no title)
chrishenn | 7 years ago
I once wrote a much hackier version of complex arithmetic in JavaScript [0]. It was to support a visualization of the complex derivative [1].
I found it useful to think of a complex number as a point in R^2 that operates under some different rules. I used Mathematica's `ComplexExpand` to translate from traditional notation for complex numbers [2].
[0]: https://github.com/chnn/multivariable-derivative-viz/blob/ma...
[1]: http://people.reed.edu/~ormsbyk/projectproject/assets/posts/...
[2]: https://reference.wolfram.com/language/ref/ComplexExpand.htm...
No comments yet.