object TolerantNumerics extends TolerantNumerics
Companion object for TolerantNumerics
that enables its members to be imported as an alternative to
mixing them in.
- Source
- TolerantNumerics.scala
- Alphabetic
- By Inheritance
- TolerantNumerics
- TolerantNumerics
- AnyRef
- Any
- Hide All
- Show All
- 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 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tolerantByteEquality(tolerance: Byte): Equality[Byte]
Provides an
Equality
instance forByte
s that compares for equality with the passed tolerance.Provides an
Equality
instance forByte
s that compares for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareByte
s.- returns
an
Equality
that comparesByte
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- def tolerantDoubleEquality(tolerance: Double): Equality[Double]
Provides an
Equality
instance forDouble
s that compares for equality with the passed tolerance.Provides an
Equality
instance forDouble
s that compares for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareDouble
s.- returns
an
Equality
that comparesDouble
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- def tolerantEquivalence[N](tolerance: N)(implicit arg0: Numeric[N]): Equivalence[N]
Provides an
Equivalence[N]
instance for any type for which aNumeric[N]
is available that comparesN
s for equality with the passed tolerance.Provides an
Equivalence[N]
instance for any type for which aNumeric[N]
is available that comparesN
s for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareNumeric
s.- returns
an
Equivalence
that comparesNumeric
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- def tolerantFloatEquality(tolerance: Float): Equality[Float]
Provides an
Equality
instance forFloat
s that compares for equality with the passed tolerance.Provides an
Equality
instance forFloat
s that compares for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareFloat
s.- returns
an
Equality
that comparesFloat
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- def tolerantIntEquality(tolerance: Int): Equality[Int]
Provides an
Equality
instance forInt
s that compares for equality with the passed tolerance.Provides an
Equality
instance forInt
s that compares for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareInt
s.- returns
an
Equality
that comparesInt
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- def tolerantLongEquality(tolerance: Long): Equality[Long]
Provides an
Equality
instance forLong
s that compares for equality with the passed tolerance.Provides an
Equality
instance forLong
s that compares for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareLong
s.- returns
an
Equality
that comparesLong
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- def tolerantShortEquality(tolerance: Short): Equality[Short]
Provides an
Equality
instance forShort
s that compares for equality with the passed tolerance.Provides an
Equality
instance forShort
s that compares for equality with the passed tolerance.- tolerance
the tolerance with which the returned
Equality
will compareShort
s.- returns
an
Equality
that comparesShort
s using the passed tolerance.
- Definition Classes
- TolerantNumerics
- 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()