TorqueNumeric

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

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: Torque): Double
def toFloat(x: Torque): Float
def toInt(x: Torque): Int
def toLong(x: Torque): Long
def tryCompare(x: Torque, y: Torque): Some[Int]
Inherited from
Ordering
def zero: Torque
Inherited from
Numeric

Deprecated and Inherited methods

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

Inherited fields

Implicits

Inherited implicits

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