Class ShortWeierstrassCurveAffine<E,F extends Field<E>> 
java.lang.Object
dk.jonaslindstrom.ruffini.elliptic.structures.ShortWeierstrassCurveAffine<E,F> 
- All Implemented Interfaces:
- AdditiveGroup<AffinePoint<E>>,- CommutativeMonoid<AffinePoint<E>>,- Set<AffinePoint<E>>
public class ShortWeierstrassCurveAffine<E,F extends Field<E>> 
extends Object
implements AdditiveGroup<AffinePoint<E>>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionadd(AffinePoint<E> p, AffinePoint<E> q) Return the result of a+b.booleanequals(AffinePoint<E> a, AffinePoint<E> b) Returnstrueif and only if a = b as elements of this set.getA()getB()getField()negate(AffinePoint<E> p) Return -a.toString()toString(AffinePoint<E> a) Returns a human-readable string representation of an element in this set.zero()Return the zero element.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroupdoubling, isZero, scale, scale, subtract, sumMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoidadd, add
- 
Constructor Details- 
ShortWeierstrassCurveAffineCurve on Weierstrass form. Field should have characteristics not equal to 2 or 3.
 
- 
- 
Method Details- 
getField
- 
discriminant
- 
toStringDescription copied from interface:SetReturns a human-readable string representation of an element in this set.
- 
equalsDescription copied from interface:SetReturnstrueif and only if a = b as elements of this set.
- 
addDescription copied from interface:CommutativeMonoidReturn the result of a+b.- Specified by:
- addin interface- CommutativeMonoid<E>
 
- 
negateDescription copied from interface:AdditiveGroupReturn -a.- Specified by:
- negatein interface- AdditiveGroup<E>
 
- 
zeroDescription copied from interface:CommutativeMonoidReturn the zero element.- Specified by:
- zeroin interface- CommutativeMonoid<E>
 
- 
toString
- 
getA
- 
getB
 
-