AdditiveMonoidFunctions

algebra.ring.AdditiveMonoidFunctions

Attributes

Source:
Additive.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AdditiveGroup.type
object BoolRng.type
object CommutativeRng.type
trait RingFunctions[R]
object BoolRing.type
object CommutativeRing.type
object DivisionRing.type
object EuclideanRing.type
object Field.type
object GCDRing.type
object Ring.type
object Rng.type
object AdditiveMonoid.type
object CommutativeRig.type
object Rig.type
object Semifield.type
object Semiring.type

Members list

Concise view

Value members

Concrete methods

def isZero[A](a: A)(implicit ev0: M[A], ev1: Eq[A]): Boolean

Attributes

Source:
Additive.scala
def sum[A](as: IterableOnce[A])(implicit ev: M[A]): A

Attributes

Source:
Additive.scala
def zero[A](implicit ev: M[A]): A

Attributes

Source:
Additive.scala

Inherited methods

def isAdditiveCommutative[A](implicit ev: M[A]): Boolean

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala
def plus[A](x: A, y: A)(implicit ev: M[A]): A

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala
def sumN[A](a: A, n: Int)(implicit ev: M[A]): A

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala
def trySum[A](as: IterableOnce[A])(implicit ev: M[A]): Option[A]

Attributes

Inherited from:
AdditiveSemigroupFunctions
Source:
Additive.scala