trait DivisionRing[A] extends Ring[A] with Semifield[A]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DivisionRing
  2. Semifield
  3. MultiplicativeGroup
  4. Ring
  5. Rng
  6. AdditiveCommutativeGroup
  7. AdditiveGroup
  8. Rig
  9. MultiplicativeMonoid
  10. Semiring
  11. MultiplicativeSemigroup
  12. AdditiveCommutativeMonoid
  13. AdditiveCommutativeSemigroup
  14. AdditiveMonoid
  15. AdditiveSemigroup
  16. Serializable
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def div(x: A, y: A): A
    Definition Classes
    MultiplicativeGroup
  2. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  3. abstract def negate(x: A): A
    Definition Classes
    AdditiveGroup
  4. abstract def one: A
    Definition Classes
    MultiplicativeMonoid
  5. abstract def plus(x: A, y: A): A
    Definition Classes
    AdditiveSemigroup
  6. abstract def times(x: A, y: A): A
    Definition Classes
    MultiplicativeSemigroup
  7. abstract def zero: A
    Definition Classes
    AdditiveMonoid

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def additive: CommutativeGroup[A]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  7. def fromBigInt(n: BigInt): A

    Convert the given BigInt to an instance of A.

    Convert the given BigInt to an instance of A.

    This is equivalent to n repeated summations of this ring's one, or -n summations of -one if n is negative.

    Most type class instances should consider overriding this method for performance reasons.

    Definition Classes
    Ring
  8. def fromDouble(a: Double): A

    This is implemented in terms of basic Ring ops.

    This is implemented in terms of basic Ring ops. However, this is probably significantly less efficient than can be done with a specific type. So, it is recommended that this method be overriden.

    This is possible because a Double is a rational number.

  9. def fromInt(n: Int): A

    Convert the given integer to an instance of A.

    Convert the given integer to an instance of A.

    Defined to be equivalent to sumN(one, n).

    That is, n repeated summations of this ring's one, or -n summations of -one if n is negative.

    Most type class instances should consider overriding this method for performance reasons.

    Definition Classes
    Ring
  10. def hashCode(): Int
    Definition Classes
    Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isOne(a: A)(implicit ev: Eq[A]): Boolean

    Tests if a is one.

    Tests if a is one.

    Definition Classes
    MultiplicativeMonoid
  13. def isZero(a: A)(implicit ev: Eq[A]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  14. def minus(x: A, y: A): A
    Definition Classes
    AdditiveGroup
  15. def multiplicative: Group[A]
  16. def positivePow(a: A, n: Int): A
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  17. def positiveSumN(a: A, n: Int): A
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  18. def pow(a: A, n: Int): A
  19. def product(as: TraversableOnce[A]): A

    Given a sequence of as, compute the product.

    Given a sequence of as, compute the product.

    Definition Classes
    MultiplicativeMonoid
    Annotations
    @nowarn()
  20. def reciprocal(x: A): A
    Definition Classes
    MultiplicativeGroup
  21. def sum(as: TraversableOnce[A]): A

    Given a sequence of as, compute the sum.

    Given a sequence of as, compute the sum.

    Definition Classes
    AdditiveMonoid
    Annotations
    @nowarn()
  22. def sumN(a: A, n: Int): A
  23. def toString(): String
    Definition Classes
    Any
  24. def tryProduct(as: TraversableOnce[A]): Option[A]

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    MultiplicativeMonoidMultiplicativeSemigroup
    Annotations
    @nowarn()
  25. def trySum(as: TraversableOnce[A]): Option[A]

    Given a sequence of as, combine them and return the total.

    Given a sequence of as, combine them and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    AdditiveMonoidAdditiveSemigroup
    Annotations
    @nowarn()

Inherited from Semifield[A]

Inherited from MultiplicativeGroup[A]

Inherited from Ring[A]

Inherited from Rng[A]

Inherited from AdditiveCommutativeGroup[A]

Inherited from AdditiveGroup[A]

Inherited from Rig[A]

Inherited from MultiplicativeMonoid[A]

Inherited from Semiring[A]

Inherited from MultiplicativeSemigroup[A]

Inherited from AdditiveCommutativeMonoid[A]

Inherited from AdditiveMonoid[A]

Inherited from AdditiveSemigroup[A]

Inherited from Serializable

Inherited from Any

Ungrouped