commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arne Plöse <>
Subject [math] extend FieldElement<T>
Date Mon, 09 May 2011 07:15:00 GMT

here are some proposals for enhancing FieldElement<T>:

add some shorthand "operators" for double i.e. add(double rhs) ... and
so on.

T negate();
T sqrt();
T pow(T x);
T pow(double x);

the FieldVector interface should be enhanced with this methods as well.

Yes, I know this has an impact on many classes ....


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message