Packages

o

scala.math.Numeric

Implicits

object Implicits extends ExtraImplicits

Source
Numeric.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Implicits
  2. ExtraImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def infixNumericOps[T](x: T)(implicit num: Numeric[T]): Ops

    These implicits create conversions from a value for which an implicit Numeric exists to the inner class which creates infix operations.

    These implicits create conversions from a value for which an implicit Numeric exists to the inner class which creates infix operations. Once imported, you can write methods as follows:

    def plus[T: Numeric](x: T, y: T) = x + y
    Definition Classes
    ExtraImplicits