[top][index]
search for:

== -- equality

x == y -- a binary operator for testing mathematical equality.

A test for mathematical equality will typically involve doing a computation to see whether two representations of the same mathematical object are being compared. For example, an ideal in a ring is represented by giving its generators, and checking whether two sets of generators produce the same ideal involves a computation with Groebner bases.

It may happen that for certain types of objects, there is no method installed for testing mathematical equality, in which strict equality will be tested with the operator ===. If a test for mathematical equality is installed later, your results may change.

Warning: whether this comparison operator returns true is not necessarily related to whether the comparison operator ? returns symbol ==.

See also:

  • != -- inequality
  • This operator may be used as a binary operator in an expression like x == y. The user may install binary methods for handling such expressions with code such as

                  X == Y := (x,y) -> ...
    where X is the class of x and Y is the class of y.

    Methods for == :

  • Sequence == Sequence
  • List == List
  • CC == QQ
  • CC == RR
  • CC == ZZ
  • ChainComplex == ChainComplex
  • ChainComplex == ZZ
  • ChainComplexMap == ChainComplexMap
  • ChainComplexMap == RingElement
  • ChainComplexMap == ZZ
  • Equation == Equation
  • Equation == Expression
  • Equation == Holder
  • Expression == Equation
  • Expression == Expression
  • Expression == Thing
  • GradedModule == GradedModule
  • GradedModuleMap == GradedModuleMap
  • GradedModuleMap == RingElement
  • GradedModuleMap == ZZ
  • GroebnerBasis == GroebnerBasis
  • Holder == Equation
  • Holder == Holder
  • Ideal == Ideal
  • Ideal == Module
  • Ideal == MonomialIdeal
  • Ideal == Ring
  • Ideal == ZZ -- equality
  • InfiniteNumber == Thing
  • Matrix == Matrix
  • Matrix == RingElement
  • Matrix == ZZ
  • Module == Ideal
  • Module == Module -- equality
  • Module == ZZ
  • MonomialIdeal == Ideal
  • MonomialIdeal == MonomialIdeal
  • MonomialIdeal == Ring
  • MonomialIdeal == ZZ
  • Net == Net
  • Net == String
  • ProjectiveHilbertPolynomial == ProjectiveHilbertPolynomial
  • QQ == CC
  • QQ == RR
  • QQ == ZZ
  • Ring == Ideal
  • Ring == MonomialIdeal
  • Ring == ZZ
  • RingElement == ChainComplexMap
  • RingElement == GradedModuleMap
  • RingElement == Matrix
  • RingElement == RingElement
  • RingElement == ZZ
  • RR == CC
  • RR == QQ
  • RR == ZZ
  • String == Net
  • Thing == Expression
  • Thing == InfiniteNumber
  • Vector == Vector
  • Vector == ZZ
  • ZZ == CC
  • ZZ == ChainComplex
  • ZZ == ChainComplexMap
  • ZZ == GradedModuleMap
  • ZZ == Ideal
  • ZZ == Matrix
  • ZZ == Module
  • ZZ == MonomialIdeal
  • ZZ == QQ
  • ZZ == Ring
  • ZZ == RingElement
  • ZZ == RR
  • ZZ == Vector

  • [top][index]
    search for: