commons-dev mailing list archives

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

here are some proposals for enhancing FieldElement<T>:

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

add:
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 ....

Arne


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message