What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

Covariant vs Contravariant - What's the difference?

covariant | contravariant |

In computing programming terms the difference between covariant and contravariant

is that covariant is using or relating to covariance while contravariant is using or relating to contravariance.

As adjectives the difference between covariant and contravariant

is that covariant is (Of a functor) which preserves composition while contravariant is which reverses composition.

As nouns the difference between covariant and contravariant

is that covariant is {{cx|algebra|lang=en}} A bihomogeneous polynomial in x, y, ... and the coefficients of some homogeneous form in x, y, ... that is invariant under some group of linear transformations while contravariant is {{cx|algebra|lang=en}} A bihomogeneous polynomial in dual variables of x, y, ... and the coefficients of some homogeneous form in x, y, ... that is invariant under some group of linear transformations.

covariant

English

Adjective

(-)
  • (category theory) (Of a functor) which preserves composition
  • (computing, programming) Using or relating to covariance.
  • Noun

    (en noun)
  • A bihomogeneous polynomial in x'', ''y'', ... and the coefficients of some homogeneous form in ''x'', ''y , ... that is invariant under some group of linear transformations.
  • The variety defined by a covariant.
  • contravariant

    English

    Adjective

    (-)
  • (category theory, of a functor) which reverses composition
  • (computing, programming) Using or relating to contravariance.
  • Noun

    (en noun)
  • A bihomogeneous polynomial in dual variables of x'', ''y'', ... and the coefficients of some homogeneous form in ''x'', ''y , ... that is invariant under some group of linear transformations.