YankNumeric

trait Numeric[Yank]
trait Ordering[Yank]
trait PartialOrdering[Yank]
trait Equiv[Yank]
trait Serializable
trait Comparator[Yank]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class NumericOps
Inherited from
Numeric
Inherited from
Ordering

Value members

Inherited methods

def abs(x: Yank): Yank
Inherited from
Numeric
def compare(x: Yank, y: Yank): Int
override def equiv(x: Yank, y: Yank): Boolean
Definition Classes
Ordering -> PartialOrdering -> Equiv
Inherited from
Ordering
def fromInt(x: Int): Yank
override def gt(x: Yank, y: Yank): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
override def gteq(x: Yank, y: Yank): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
def isReverseOf(other: Ordering[_]): Boolean
Inherited from
Ordering
override def lt(x: Yank, y: Yank): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
override def lteq(x: Yank, y: Yank): Boolean
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
def max[U <: Yank](x: U, y: U): U
Inherited from
Ordering
def min[U <: Yank](x: U, y: U): U
Inherited from
Ordering
def minus(x: Yank, y: Yank): Yank
def negate(x: Yank): Yank
def on[U](f: U => Yank): Ordering[U]
Inherited from
Ordering
def one: Yank
Inherited from
Numeric
def orElse(other: Ordering[Yank]): Ordering[Yank]
Inherited from
Ordering
def orElseBy[S](f: Yank => S)(ord: Ordering[S]): Ordering[Yank]
Inherited from
Ordering
def parseString(str: String): Option[Yank]
def plus(x: Yank, y: Yank): Yank
override def reverse: Ordering[Yank]
Definition Classes
Ordering -> PartialOrdering
Inherited from
Ordering
def reversed(): Comparator[Yank]
Inherited from
Comparator
def sign(x: Yank): Yank
Inherited from
Numeric
def thenComparing[U <: Comparable[_ >: U <: `<FromJavaObject>`]](`x$0`: Function[_ >: T <: `<FromJavaObject>`, _ <: U]): Comparator[Yank]
Inherited from
Comparator
def thenComparing[U <: `<FromJavaObject>`](`x$0`: Function[_ >: T <: `<FromJavaObject>`, _ <: U], `x$1`: Comparator[_ >: U <: `<FromJavaObject>`]): Comparator[Yank]
Inherited from
Comparator
def thenComparing(`x$0`: Comparator[_ >: T <: `<FromJavaObject>`]): Comparator[Yank]
Inherited from
Comparator
def thenComparingDouble(`x$0`: ToDoubleFunction[_ >: T <: `<FromJavaObject>`]): Comparator[Yank]
Inherited from
Comparator
def thenComparingInt(`x$0`: ToIntFunction[_ >: T <: `<FromJavaObject>`]): Comparator[Yank]
Inherited from
Comparator
def thenComparingLong(`x$0`: ToLongFunction[_ >: T <: `<FromJavaObject>`]): Comparator[Yank]
Inherited from
Comparator
def times(x: Yank, y: Yank): Yank

times is not a supported Numeric operation for Quantities. It is not possible to multiply a dimensional quantity by a like quantity and get another like quantity. Applying this class in a way that uses this method will result in an UnsupportedOperationException being thrown.

times is not a supported Numeric operation for Quantities. It is not possible to multiply a dimensional quantity by a like quantity and get another like quantity. Applying this class in a way that uses this method will result in an UnsupportedOperationException being thrown.

Value Params
x

Quantity[A]

y

Quantity[A]

Throws
scala.UnsupportedOperationException

for most types

Inherited from
AbstractQuantityNumeric
def toDouble(x: Yank): Double
def toFloat(x: Yank): Float
def toInt(x: Yank): Int
def toLong(x: Yank): Long
def tryCompare(x: Yank, y: Yank): Some[Int]
Inherited from
Ordering
def zero: Yank
Inherited from
Numeric

Deprecated and Inherited methods

@deprecated("use `sign` method instead", "2.13.0")
def signum(x: Yank): Int
Deprecated
Inherited from
Numeric

Inherited fields

Implicits

Inherited implicits

implicit def mkNumericOps(lhs: Yank): NumericOps
Inherited from
Numeric
implicit def mkOrderingOps(lhs: Yank): OrderingOps
Inherited from
Ordering