japaric-archived / linalg.rs

[INACTIVE]
Apache License 2.0
29 stars 1 forks source link

Implement `Add`/`Sub` as sugar for `AddAssign`/`SubAssign` #16

Closed japaric closed 9 years ago

japaric commented 9 years ago

Blocked on: rust-lang/rfcs#439. This needs Add/Sub that take their arguments by value.

The +/- will become sugar for { lhs += rhs; lhs}. All these combinations should work: