jsci.maths.polynomials
Class RealPolynomialRing
- java.lang.Object
-
- jsci.maths.polynomials.RealPolynomialRing
-
- All Implemented Interfaces:
- Ring, AbelianGroup
public class RealPolynomialRing extends java.lang.Object implements Ring
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jsci.maths.fields.Ring
Ring.Member
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static RealPolynomialRinggetInstance()Singleton.booleanisNegative(AbelianGroup.Member a, AbelianGroup.Member b)Returns true if one member is the negative of the other.booleanisOne(Ring.Member r)Returns true if the member is the unit element.booleanisZero(AbelianGroup.Member g)Returns true if the member is the identity element of this group.Ring.Memberone()Returns the unit element.AbelianGroup.Memberzero()Returns the identity element.
-
-
-
Method Detail
-
getInstance
public static final RealPolynomialRing getInstance()
Singleton.
-
isNegative
public boolean isNegative(AbelianGroup.Member a, AbelianGroup.Member b)
Returns true if one member is the negative of the other.- Specified by:
isNegativein interfaceAbelianGroup- Parameters:
a- a group memberb- a group member
-
isOne
public boolean isOne(Ring.Member r)
Returns true if the member is the unit element.
-
isZero
public boolean isZero(AbelianGroup.Member g)
Returns true if the member is the identity element of this group.- Specified by:
isZeroin interfaceAbelianGroup- Parameters:
g- a group member
-
one
public Ring.Member one()
Returns the unit element.
-
zero
public AbelianGroup.Member zero()
Returns the identity element.- Specified by:
zeroin interfaceAbelianGroup
-
-
DMelt 3.0 © DataMelt by jWork.ORG