jblas-project / jblas

Linear Algebra for Java
http://jblas.org
BSD 3-Clause "New" or "Revised" License
590 stars 149 forks source link

Make ComplexDouble and ComplexFloat a subclass of java.lang.Number #73

Closed ghost closed 4 years ago

ghost commented 8 years ago

This would allow for a generic Matrix interface: Matrix< ? extends Number >, which IMHO is cleaner than a separate DoubleMatrix and FloatMatrix. I can do it, if you like, and issue a pull request.