Re: complex numbers in clojure

2015-04-29 Thread Nik
addition operator like clojure.complex/+ or clojure.core.matrix.operators/+ instead when you write complex-using code. That's part of my suggestions b) and c), basically to have separate APIs that understand complex types. On Tuesday, 28 April 2015 19:42:23 UTC+8, Nik wrote: What

Re: complex numbers in clojure

2015-04-28 Thread Nik
number type, mostly just by calling b) directly On Monday, 27 April 2015 23:39:34 UTC+8, Nik wrote: I have been thinking along the lines of mikera and Maik - and it seems like there is no further progress here? I would like to take a crack at creating a complex number type, but implemented

Re: complex numbers in clojure

2015-04-28 Thread Nik
To put is simply, it would be nice to have a complex type in Clojure, not as a separate namespace, but something that is part of the language. It should interoperate with other Clojure types (like adding a double to a complex), as well as clojure.core.arithmetic. That's what I meant about