News for hackers. Stuff that matters.
Re:Type-checked matrix operations in Rust by sigterm on Saturday August 08, 2015 @05:17PM (#10028690)
Is it tough? There are only seven fundamental units. https://en.wikipedia.org/wiki/SI_base_unit

Just represent every unit in terms of them then it's good.

One problem with the array you came up is that the units are not orthogonal, since Joules = Newtons * Meters.

Re:Type-checked matrix operations in Rust by jcranmer on Saturday August 08, 2015 @08:42PM (#10029100)
Actually, there's more "kinds" of units: radians (versus degrees) and steradians come to mind.
Re:Type-checked matrix operations in Rust by masklinn on Sunday August 09, 2015 @04:08AM (#10029841)
These are dimensionless derived units in SI equivalence (respectively m/m and m2/m2)
Re:Type-checked matrix operations in Rust by dastbe on Saturday August 08, 2015 @11:53PM (#10029461)
Sorry! I never really spent much time in the physical sciences, so I didn't know that. You would obviously not want to pick Joules as a fundamental unit.