Signed

algebra.ring.Signed$
See theSigned companion trait
object Signed extends SignedFunctions[Signed]

Attributes

Companion:
trait
Source:
Signed.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Signed.type

Members list

Concise view

Type members

Classlikes

case object Negative extends Sign

Attributes

Source:
Signed.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Sign
class Object
trait Matchable
class Any
Self type
case object Positive extends Sign

Attributes

Source:
Signed.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Sign
class Object
trait Matchable
class Any
Self type
sealed abstract class Sign(val toInt: Int)

A simple ADT representing the Sign of an object.

A simple ADT representing the Sign of an object.

Attributes

Companion:
object
Source:
Signed.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Negative.type
object Positive.type
object Zero.type
object Sign

Attributes

Companion:
class
Source:
Signed.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Sign.type
case object Zero extends Sign

Attributes

Source:
Signed.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Product
trait Equals
class Sign
class Object
trait Matchable
class Any
Self type
Zero.type

Signed implementation for additive commutative groups

Signed implementation for additive commutative groups

Attributes

Source:
Signed.scala
Graph
Supertypes
Known subtypes

Signed implementation for additive commutative monoids

Signed implementation for additive commutative monoids

Attributes

Source:
Signed.scala
Graph
Supertypes
Known subtypes

Value members

Concrete methods

def apply[A](implicit s: Signed[A]): Signed[A]

Attributes

Source:
Signed.scala

Inherited methods

def abs[A](a: A)(implicit ev: Signed[A]): A

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def compare[A](x: A, y: A)(implicit ev: Order[A]): Int

Attributes

Inherited from:
OrderFunctions
Source:
Order.scala
def comparison[A](x: A, y: A)(implicit ev: Order[A]): Comparison

Attributes

Inherited from:
OrderFunctions
Source:
Order.scala
def eqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

Attributes

Inherited from:
EqFunctions
Source:
Eq.scala
def gt[A](x: A, y: A)(implicit ev: Order[A]): Boolean

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def gteqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def isSignNegative[A](a: A)(implicit ev: Signed[A]): Boolean

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def isSignNonNegative[A](a: A)(implicit ev: Signed[A]): Boolean

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def isSignNonPositive[A](a: A)(implicit ev: Signed[A]): Boolean

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def isSignNonZero[A](a: A)(implicit ev: Signed[A]): Boolean

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def isSignPositive[A](a: A)(implicit ev: Signed[A]): Boolean

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def isSignZero[A](a: A)(implicit ev: Signed[A]): Boolean

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def lt[A](x: A, y: A)(implicit ev: Order[A]): Boolean

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def lteqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def max[A](x: A, y: A)(implicit ev: Order[A]): A

Attributes

Inherited from:
OrderFunctions
Source:
Order.scala
def min[A](x: A, y: A)(implicit ev: Order[A]): A

Attributes

Inherited from:
OrderFunctions
Source:
Order.scala
def neqv[A](x: A, y: A)(implicit ev: Order[A]): Boolean

Attributes

Inherited from:
EqFunctions
Source:
Eq.scala
def partialCompare[A](x: A, y: A)(implicit ev: Order[A]): Double

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def pmax[A](x: A, y: A)(implicit ev: Order[A]): Option[A]

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def pmin[A](x: A, y: A)(implicit ev: Order[A]): Option[A]

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala
def sign[A](a: A)(implicit ev: Signed[A]): Sign

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def signum[A](a: A)(implicit ev: Signed[A]): Int

Attributes

Inherited from:
SignedFunctions
Source:
Signed.scala
def tryCompare[A](x: A, y: A)(implicit ev: Order[A]): Option[Int]

Attributes

Inherited from:
PartialOrderFunctions
Source:
PartialOrder.scala