object AdditiveGroup extends AdditiveGroupFunctions[AdditiveGroup] with Serializable
- Source
- Additive.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AdditiveGroup
- Serializable
- AdditiveGroupFunctions
- AdditiveMonoidFunctions
- AdditiveSemigroupFunctions
- 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
- final def additive[A](implicit ev: AdditiveGroup[A]): Group[A]
This method converts an additive instance into a generic instance.
This method converts an additive instance into a generic instance.
Given an implicit
AdditiveGroup[A]
, this method returns aGroup[A]
.- Annotations
- @inline()
- final def apply[A](implicit ev: AdditiveGroup[A]): AdditiveGroup[A]
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAdditiveCommutative[A](implicit ev: AdditiveGroup[A]): Boolean
- Definition Classes
- AdditiveSemigroupFunctions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isZero[A](a: A)(implicit ev0: AdditiveGroup[A], ev1: Eq[A]): Boolean
- Definition Classes
- AdditiveMonoidFunctions
- def minus[A](x: A, y: A)(implicit ev: AdditiveGroup[A]): A
- Definition Classes
- AdditiveGroupFunctions
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate[A](x: A)(implicit ev: AdditiveGroup[A]): A
- Definition Classes
- AdditiveGroupFunctions
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def plus[A](x: A, y: A)(implicit ev: AdditiveGroup[A]): A
- Definition Classes
- AdditiveSemigroupFunctions
- def sum[A](as: TraversableOnce[A])(implicit ev: AdditiveGroup[A]): A
- Definition Classes
- AdditiveMonoidFunctions
- Annotations
- @nowarn()
- def sumN[A](a: A, n: Int)(implicit ev: AdditiveGroup[A]): A
- Definition Classes
- AdditiveSemigroupFunctions
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trySum[A](as: TraversableOnce[A])(implicit ev: AdditiveGroup[A]): Option[A]
- Definition Classes
- AdditiveSemigroupFunctions
- Annotations
- @nowarn()
- 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[A](implicit ev: AdditiveGroup[A]): A
- Definition Classes
- AdditiveMonoidFunctions