goldfirere / units

The home of the units Haskell package
94 stars 19 forks source link

Improve affine space operations #51

Closed hesiod closed 8 years ago

hesiod commented 8 years ago

Linear distinguishes between the quadrance/difference between two vectors in a metric space and two points in an affine space.

For reference, compare distance/qd in Linear.Metric and distanceA/qdA in Linear.Affine. The former operates on Metric f, the latter on Affine p.

goldfirere commented 8 years ago

@hesiod, thanks for your recent contributions. I'm utterly swamped at the moment, but I hope to take a look at this soon, likely before the end of the year. Shout if a quick action on my part will make your life better, though. :)

hesiod commented 8 years ago

@goldfirere, no worries. I would indeed appreciate if you could mainline the changes - please take a look at my comments in #45.

hesiod commented 8 years ago

Btw, this build fails because it depends on #50, but if that one's merged, it should compile just fine