/** * Compute the product of this element and <tt>factor</tt>. * * @param factor the factor * @return <tt>this * factor</tt> (newly created) */ public GFElement multiply(GFElement factor) throws RuntimeException { GF2nONBElement result = new GF2nONBElement(this); result.multiplyThisBy(factor); return result; }
/** * Compute the product of this element and <tt>factor</tt>. * * @param factor the factor * @return <tt>this * factor</tt> (newly created) * @throws DifferentFieldsException if the elements are of different fields. */ public GFElement multiply(GFElement factor) throws RuntimeException { GF2nONBElement result = new GF2nONBElement(this); result.multiplyThisBy(factor); return result; }