Re: [math] extend FieldElement

2011-05-09 Thread Sébastien Brisard
Le 09/05/11 19:52, Luc Maisonobe a écrit : Le 09/05/2011 09:15, Arne Plöse a écrit : Hi, here are some proposals for enhancing FieldElement: 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); This is possible

Re: [math] extend FieldElement

2011-05-09 Thread Luc Maisonobe
Le 09/05/2011 09:15, Arne Plöse a écrit : Hi, here are some proposals for enhancing FieldElement: 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); This is possible only for negate() in the FieldElement. Not

Re: [math] extend FieldElement

2011-05-09 Thread sebb
On 9 May 2011 08:15, Arne Plöse wrote: > Hi, > > here are some proposals for enhancing FieldElement: Please could you create a JIRA enhancement request for this? It's much easier to keep track of JIRA issues than an e-mail. > add some shorthand "operators" for double i.e. add(double rhs) ... an

[math] extend FieldElement

2011-05-09 Thread Arne Plöse
Hi, here are some proposals for enhancing FieldElement: 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 o