Closed mdavezac closed 7 years ago
Thanks for pointing me to CoordinationTransformations. I can see why you are planning on switching. I just might do the same :)
In any case, your changes do indeed get rid of the ugliness in the constructor.
Merged, see https://github.com/timholy/AffineTransforms.jl/commits/master.
I squashed into two commits, one for the test sets and the other for the "core" change. Thanks for keeping your commits so nicely separated, and of course for the excellent enhancement to the package!
The main case of interest are vectorial spaces with units, say via Unitful. Then the translations in the affine transforms also have units, but the matrices are unitless.
This pull-request "works", as evidenced by a test. But the API is probably not satisfactory. Any recommendations/ideas on how to go about this?