/** * Performs a basis transformation of this element to the given GF2nField * <tt>basis</tt>. * * @param basis the GF2nField representation to transform this element to * @return this element in the representation of <tt>basis</tt> */ public final GF2nElement convert(GF2nField basis) { return mField.convert(this, basis); }
/** * Performs a basis transformation of this element to the given GF2nField * <tt>basis</tt>. * * @param basis the GF2nField representation to transform this element to * @return this element in the representation of <tt>basis</tt> * @throws DifferentFieldsException if <tt>this</tt> cannot be converted according to * <tt>basis</tt>. */ public final GF2nElement convert(GF2nField basis) throws RuntimeException { return mField.convert(this, basis); }