/** * Compute the multiplicative inverse of this element. * * @return <tt>this<sup>-1</sup></tt> (newly created) * @throws ArithmeticException if <tt>this</tt> is the zero element. */ public GFElement invert() throws ArithmeticException { GF2nONBElement result = new GF2nONBElement(this); result.invertThis(); return result; }
/** * Compute the multiplicative inverse of this element. * * @return <tt>this<sup>-1</sup></tt> (newly created) * @throws ArithmeticException if <tt>this</tt> is the zero element. */ public GFElement invert() throws ArithmeticException { GF2nONBElement result = new GF2nONBElement(this); result.invertThis(); return result; }