AdditiveSemigroupFunctions

class Object
trait Matchable
class Any
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
object AdditiveSemigroup.type

Value members

Concrete methods

def isAdditiveCommutative[A](implicit ev: S[A]): Boolean
def plus[@specialized(Int, Long, Float, Double) A](x: A, y: A)(implicit ev: S[A]): A
def sumN[@specialized(Int, Long, Float, Double) A](a: A, n: Int)(implicit ev: S[A]): A
@nowarn("msg=deprecated")
def trySum[A](as: IterableOnce[A])(implicit ev: S[A]): Option[A]