object IntRing extends Ring[Int]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IntRing
- Ring
- Ring
- Rng
- AdditiveCommutativeGroup
- Rig
- MultiplicativeMonoid
- Semiring
- MultiplicativeSemigroup
- AdditiveCommutativeMonoid
- AdditiveCommutativeSemigroup
- CommutativeGroup
- CommutativeMonoid
- CommutativeSemigroup
- Group
- AdditiveGroup
- Monoid
- AdditiveMonoid
- Semigroup
- AdditiveSemigroup
- Group
- Monoid
- Semigroup
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def additive: CommutativeGroup[Int]
- Definition Classes
- AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assertNotZero(v: Int): Unit
- Definition Classes
- Monoid
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def combine(l: Int, r: Int): Int
- Definition Classes
- Semigroup → Semigroup
- def combineAll(t: TraversableOnce[Int]): Int
- Definition Classes
- Monoid → Monoid
- def combineAllOption(iter: TraversableOnce[Int]): Option[Int]
- Definition Classes
- Semigroup → Semigroup
- def combineN(a: Int, n: Int): Int
- Definition Classes
- Group → Monoid → Semigroup
- def empty: Int
- Definition Classes
- Monoid → Monoid
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromBigInt(n: BigInt): Int
- Definition Classes
- Ring
- def fromInt(n: Int): Int
- Definition Classes
- Ring
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inverse(v: Int): Int
- Definition Classes
- Group → Group
- def isEmpty(a: Int)(implicit ev: Eq[Int]): Boolean
- Definition Classes
- Monoid
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNonZero(v: Int): Boolean
- Definition Classes
- Monoid
- def isOne(a: Int)(implicit ev: Eq[Int]): Boolean
- Definition Classes
- MultiplicativeMonoid
- def isZero(a: Int)(implicit ev: Eq[Int]): Boolean
- Definition Classes
- AdditiveMonoid
- def minus(l: Int, r: Int): Int
- Definition Classes
- IntRing → AdditiveGroup
- def multiplicative: algebra.Monoid[Int]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate(v: Int): Int
- Definition Classes
- IntRing → AdditiveGroup
- def nonZeroOption(v: Int): Option[Int]
- Definition Classes
- Monoid
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def one: Int
- def plus(l: Int, r: Int): Int
- Definition Classes
- IntRing → AdditiveSemigroup
- def positivePow(a: Int, n: Int): Int
- Attributes
- protected[this]
- Definition Classes
- MultiplicativeSemigroup
- def positiveSumN(a: Int, n: Int): Int
- Attributes
- protected[this]
- Definition Classes
- AdditiveSemigroup
- def pow(a: Int, n: Int): Int
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def product(iter: TraversableOnce[Int]): Int
- Definition Classes
- Ring → MultiplicativeMonoid
- def remove(l: Int, r: Int): Int
- Definition Classes
- Group → Group
- def repeatedCombineN(a: Int, n: Int): Int
- Attributes
- protected[this]
- Definition Classes
- Semigroup
- def sum(t: TraversableOnce[Int]): Int
- def sumN(a: Int, n: Int): Int
- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
- def sumOption(t: TraversableOnce[Int]): Option[Int]
Returns an instance of
T
calculated by summing all instances initer
in one pass.Returns an instance of
T
calculated by summing all instances initer
in one pass. ReturnsNone
ifiter
is empty, elseSome[T]
.- returns
None
ifiter
is empty, else an option value containing the summedT
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def times(l: Int, r: Int): Int
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryProduct(as: TraversableOnce[Int]): Option[Int]
- Definition Classes
- MultiplicativeMonoid → MultiplicativeSemigroup
- def trySum(as: TraversableOnce[Int]): Option[Int]
- Definition Classes
- AdditiveMonoid → AdditiveSemigroup
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def zero: Int
- Definition Classes
- IntRing → AdditiveMonoid