mexprp
mexprp copied to clipboard
use num::Complex instead of ComplexFloat
The ComplexFloat struct doesn't implement most of the wide variety of functions you might want from a complex number. This issue makes it very difficult to fill out the rest of the methods for the mexprp::Num
trait, and also makes using ComplexFloat from a user perspective very frustrating.
Thankfully, that functionality already exists, in num::Complex. I suggest using this existing crate instead of ComplexFloat, because it should make the library code much easier to write and be more useful to the user.