/** * increases <tt>this</tt> element. */ public void increaseThis() { addToThis(ONE((GF2nONBField)mField)); }
/** * increases <tt>this</tt> element. */ public void increaseThis() { addToThis(ONE((GF2nONBField)mField)); }
/** * Compute the sum of this element and <tt>addend</tt>. * * @param addend the addend * @return <tt>this + other</tt> (newly created) */ public GFElement add(GFElement addend) throws RuntimeException { GF2nONBElement result = new GF2nONBElement(this); result.addToThis(addend); return result; }
/** * Compute the sum of this element and <tt>addend</tt>. * * @param addend the addend * @return <tt>this + other</tt> (newly created) * @throws DifferentFieldsException if the elements are of different fields. */ public GFElement add(GFElement addend) throws RuntimeException { GF2nONBElement result = new GF2nONBElement(this); result.addToThis(addend); return result; }