commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Meyer Andersen <m...@mikl.dk>
Subject Re: [math] Add methods opposite() and inverse() to o.a.c.m.FieldElement
Date Tue, 04 Oct 2011 19:42:58 GMT
2011/10/4 Luc Maisonobe <Luc.Maisonobe@free.fr>:
> Le 04/10/2011 05:22, Sébastien Brisard a écrit :
>>
>> Good morning everyone,
>> I would like to add the above mentioned methods to FieldElement. This
>> would avoid awkward commands such as
>> x.getField().getZero().substract(x) (for x.opposite())
>> and
>> x.getField().getOne().divide(x) (for x.invert()).
>> It's not essential, but I think it would be useful. Besides, I don't
>> think it would bloat the interface, since opposite and inverse are
>> mathematical notions which are intrinsic to fields.
>> What do you think?
>
> +0 from me.
>
> Luc
>
>> Best regards,
>> Sébastien
>>
+0, too.

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


Mime
View raw message