commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Maisonobe <Luc.Maison...@free.fr>
Subject Re: [math] Add methods opposite() and inverse() to o.a.c.m.FieldElement
Date Tue, 04 Oct 2011 19:31:03 GMT
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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


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


Mime
View raw message