To extend JAS with the commons-math methods the easiest way is to extend
the
edu.jas.structure.AbelianGroupElem like this:

public interface AbelianGroupElem<C extends AbelianGroupElem<C>>
         extends Element<C>, FieldElement<C>

and add the methods:
add() and
getField() in all derived classes.

But there's already an add() method in the AbelianGroupElem interface which
is called sum().
This is probably to avoid the method name add() which is often used in the
Java Collection framework.
(see https://issues.apache.org/jira/browse/MATH-285)

Reply via email to