scalala / Scalala

Scalala has been superseded by dlwh/breeze. Scalala is a high performance numeric linear algebra library for Scala, with rich Matlab-like operators on vectors and matrices; a library of numerical routines; support for plotting.
http://groups.google.com/group/scalala
GNU Lesser General Public License v2.1
298 stars 30 forks source link

operand order overly important in sparse <-> dense operations #3

Open dramage opened 13 years ago

dramage commented 13 years ago

Reported by logophobia on the mailing list:

dramage commented 13 years ago

This is fixed for dot products as of https://github.com/scalala/Scalala/commit/6f9a1283d0e1b70642720144f56731d978a8e1b5

What remains is keeping the correct static type through the operations. E.g. dense + sparse should return dense (statically) whereas dense :* sparse should return sparse (statically).