Complex numbers are very interesting because they have a lot of uses in scientific and engineering computations. They are a MUST in a good numeric computation library.
This new feature must be carefully designed because ideally it have to use the other numeric types internally to reuse code and obtain a clean class. The problem is that we have Decimal, but also we're planning to add BigRational and BigInteger.
Maybe we can't discard using BigInteger, but the first two options should be an option to represent the complex number components, so we need a very flexible class.
Complex numbers are very interesting because they have a lot of uses in scientific and engineering computations. They are a MUST in a good numeric computation library.
This new feature must be carefully designed because ideally it have to use the other numeric types internally to reuse code and obtain a clean class. The problem is that we have
Decimal
, but also we're planning to addBigRational
andBigInteger
.Maybe we can't discard using
BigInteger
, but the first two options should be an option to represent the complex number components, so we need a very flexible class.