trait Num[A] extends Ord[A]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Num
- Ord
- Eq
- Adjunct
- Writable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def abs(a: A): A
- abstract def absDif(a: A, b: A): A
- abstract def clip(a: A, lo: A, hi: A): A
- abstract def clip2(a: A, b: A): A
- abstract def cubed(a: A): A
- abstract def difSqr(a: A, b: A): A
- abstract def eq(a: A, b: A): Boolean
- Definition Classes
- Eq
- abstract def excess(a: A, b: A): A
- abstract def fold(a: A, lo: A, hi: A): A
- abstract def fold2(a: A, b: A): A
- abstract def gt(a: A, b: A): Boolean
- Definition Classes
- Ord
- abstract def gteq(a: A, b: A): Boolean
- Definition Classes
- Ord
- abstract def id: Int
- Definition Classes
- Adjunct
- abstract def lt(a: A, b: A): Boolean
- Definition Classes
- Ord
- abstract def lteq(a: A, b: A): Boolean
- Definition Classes
- Ord
- abstract def max(a: A, b: A): A
- abstract def min(a: A, b: A): A
- abstract def minus(a: A, b: A): A
- abstract def mod(a: A, b: A): A
- abstract def negate(a: A): A
- abstract def neq(a: A, b: A): Boolean
- Definition Classes
- Eq
- abstract def one: A
- abstract def plus(a: A, b: A): A
- abstract def rand[Tx](a: A)(implicit r: Random[Tx], tx: Tx): A
A random number between zero (inclusive) and
a
(exclusive).A random number between zero (inclusive) and
a
(exclusive).a
may be negative, but it must not be zero. - abstract def rand2[Tx](a: A)(implicit r: Random[Tx], tx: Tx): A
- abstract def rangeRand[Tx](a: A, b: A)(implicit r: Random[Tx], tx: Tx): A
- abstract def rem(a: A, b: A): A
- abstract def roundTo(a: A, b: A): A
- abstract def roundUpTo(a: A, b: A): A
- abstract def signum(a: A): A
- abstract def sqrDif(a: A, b: A): A
- abstract def sqrSum(a: A, b: A): A
- abstract def squared(a: A): A
- abstract def sumSqr(a: A, b: A): A
- abstract def times(a: A, b: A): A
- abstract def trunc(a: A, b: A): A
- abstract def wrap(a: A, lo: A, hi: A): A
- abstract def wrap2(a: A, b: A): A
- abstract def zero: A
Concrete Value Members
- final def !=(arg0: Any): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): scala.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() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: scala.Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): scala.Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(out: DataOutput): Unit
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated