trait Field[A] extends CommutativeRing[A] with MultiplicativeCommutativeGroup[A]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Field
  2. MultiplicativeCommutativeGroup
  3. MultiplicativeGroup
  4. CommutativeRing
  5. CommutativeRng
  6. CommutativeRig
  7. MultiplicativeCommutativeMonoid
  8. CommutativeSemiring
  9. MultiplicativeCommutativeSemigroup
  10. Ring
  11. Rng
  12. AdditiveCommutativeGroup
  13. AdditiveGroup
  14. Rig
  15. MultiplicativeMonoid
  16. Semiring
  17. MultiplicativeSemigroup
  18. AdditiveCommutativeMonoid
  19. AdditiveCommutativeSemigroup
  20. AdditiveMonoid
  21. AdditiveSemigroup
  22. Serializable
  23. Serializable
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def div(x: A, y: A): A
    Definition Classes
    MultiplicativeGroup
  2. abstract def getClass(): Class[_]
    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 Field ops.

    This is implemented in terms of basic Field 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: CommutativeGroup[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
  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
  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
  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

Inherited from MultiplicativeCommutativeGroup[A]

Inherited from MultiplicativeGroup[A]

Inherited from CommutativeRing[A]

Inherited from CommutativeRng[A]

Inherited from CommutativeRig[A]

Inherited from CommutativeSemiring[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 AdditiveCommutativeSemigroup[A]

Inherited from AdditiveMonoid[A]

Inherited from AdditiveSemigroup[A]

Inherited from Serializable

Inherited from Serializable

Inherited from Any

Ungrouped