mikera / core.matrix

core.matrix : Multi-dimensional array programming API for Clojure
Other
701 stars 113 forks source link

Are mul and emul both needed? #270

Closed Somelauw closed 8 years ago

Somelauw commented 8 years ago

The only difference seems to be that emul is not guantanteed to work with a scalar as second argument.

Are both functions needed? If for performance reasons, then should e.g. the add function also have an e-add counterpart?

mikera commented 8 years ago

Probably not. They are distinct because of legacy reasons, and for contrast with mmul

Probably should remove emul, to be consistent with add, sub, div etc.