Interface AdditionGroup<T extends AdditionGroup<T>>

Type Parameters:
T - the type of element in the group
All Superinterfaces:
AdditionMonoid<T>
All Known Subinterfaces:
Field<T>, Int, Rational
All Known Implementing Classes:
Angle

public interface AdditionGroup<T extends AdditionGroup<T>> extends AdditionMonoid<T>
Defines the contract for Addition Group.
  • Method Summary

    Modifier and Type
    Method
    Description
    abs()
     
    minus(T other)
     
     

    Methods inherited from interface org.midheaven.math.AdditionMonoid

    isZero, plus
  • Method Details

    • negate

      T negate()
    • minus

      T minus(T other)
    • abs

      T abs()