Le 09/02/2012 10:50, Sébastien Brisard a écrit : > Hi Luc, >> >> I agree with you, enums are much better. There are other places in >> [math] where we use boolean or even ints for such things. They mainly >> came for pre-java 5 era when enums where not available. >> >> Luc >> > And what do you think of replacing > - transform(double[]) with transform(double[], FORWARD) > - inverseTransform(double[]) with transform(double[], INVERSE) > (also using enums) ?
It's good too. Luc > In fact, at the lowest level, all transforms are coded this way (a > boolean is passed to specifiy whether or not the inverse is to be > computed). So maybe the higher level methods should also do so. > Sébastien > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
