Interface Multiplication<T>

  • Type Parameters:
    T - Type of elements.
    All Known Subinterfaces:
    NativeOperators<T>
    All Known Implementing Classes:
    Fraction

    public interface Multiplication<T>
    Multiplication.
    • Method Summary

      Modifier and Type Method Description
      T multiply​(T a)
      Binary multiplication.
      T one()
      Identity element.
      T reciprocal()
      Multiplicative inverse.
    • Method Detail

      • multiply

        T multiply​(T a)
        Binary multiplication.
        Parameters:
        a - Element.
        Returns:
        this * a.
      • one

        T one()
        Identity element.
        Returns:
        the field element such that for all a, one().multiply(a).equals(a) is true.
      • reciprocal

        T reciprocal()
        Multiplicative inverse.
        Returns:
        this-1.