GreycLab / CImg

The CImg Library is a small and open-source C++ toolkit for image processing
http://cimg.eu
Other
1.46k stars 278 forks source link

Initial work on multiple variable GCD support. #410

Closed Reptorian1125 closed 5 months ago

Reptorian1125 commented 5 months ago

Here, a work on attempting to allow gcd to work with 3 or more variables. Sadly, it doesn't work with one single vector, and I don't know how to fix that. It does work for multiple scalar values and even mixture of vectors with scalars though.