class IntAlgebra extends CommutativeRing[Int] with Serializable

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

Instance Constructors

  1. new IntAlgebra()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def additive: CommutativeGroup[Int]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def fromBigInt(n: BigInt): Int

    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
    IntAlgebraRing
  11. def fromInt(n: Int): Int

    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
    IntAlgebraRing
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isOne(a: Int)(implicit ev: Eq[Int]): Boolean

    Tests if a is one.

    Tests if a is one.

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

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  17. def minus(x: Int, y: Int): Int
    Definition Classes
    IntAlgebraAdditiveGroup
  18. def multiplicative: CommutativeMonoid[Int]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def negate(x: Int): Int
    Definition Classes
    IntAlgebraAdditiveGroup
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def one: Int
    Definition Classes
    IntAlgebraMultiplicativeMonoid
  24. def plus(x: Int, y: Int): Int
    Definition Classes
    IntAlgebraAdditiveSemigroup
  25. def positivePow(a: Int, n: Int): Int
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  26. def positiveSumN(a: Int, n: Int): Int
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  27. def pow(x: Int, y: Int): Int
  28. def product(as: TraversableOnce[Int]): Int

    Given a sequence of as, compute the product.

    Given a sequence of as, compute the product.

    Definition Classes
    MultiplicativeMonoid
    Annotations
    @nowarn()
  29. def sum(as: TraversableOnce[Int]): Int

    Given a sequence of as, compute the sum.

    Given a sequence of as, compute the sum.

    Definition Classes
    AdditiveMonoid
    Annotations
    @nowarn()
  30. def sumN(a: Int, n: Int): Int
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def times(x: Int, y: Int): Int
    Definition Classes
    IntAlgebraMultiplicativeSemigroup
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def tryProduct(as: TraversableOnce[Int]): Option[Int]

    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()
  35. def trySum(as: TraversableOnce[Int]): Option[Int]

    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()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def zero: Int
    Definition Classes
    IntAlgebraAdditiveMonoid

Inherited from CommutativeRing[Int]

Inherited from CommutativeRng[Int]

Inherited from CommutativeRig[Int]

Inherited from CommutativeSemiring[Int]

Inherited from Ring[Int]

Inherited from Rng[Int]

Inherited from AdditiveGroup[Int]

Inherited from Rig[Int]

Inherited from MultiplicativeMonoid[Int]

Inherited from Semiring[Int]

Inherited from AdditiveMonoid[Int]

Inherited from AdditiveSemigroup[Int]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped