Packages

c

spire.std

UnitAlgebra

class UnitAlgebra extends UnitAbGroup with UnitOrder with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
UnitOrder, Serializable, Serializable, Order[Unit], PartialOrder[Unit], Eq[Unit], UnitAbGroup, AbGroup[Unit], CMonoid[Unit], CSemigroup[Unit], Group[Unit], Monoid[Unit], Semigroup[Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnitAlgebra
  2. UnitOrder
  3. Serializable
  4. Serializable
  5. Order
  6. PartialOrder
  7. Eq
  8. UnitAbGroup
  9. AbGroup
  10. CMonoid
  11. CSemigroup
  12. Group
  13. Monoid
  14. Semigroup
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UnitAlgebra()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def combine(as: TraversableOnce[Unit]): Unit

    Given a sequence of as, combine them using the monoid and return the total.

    Given a sequence of as, combine them using the monoid and return the total.

    Definition Classes
    Monoid
  7. def combineOption(as: TraversableOnce[Unit]): Option[Unit]

    Given a sequence of as, combine them using the semigroup and return the total.

    Given a sequence of as, combine them using the semigroup and return the total.

    If the sequence is empty, returns None. Otherwise, returns Some(total).

    Definition Classes
    Semigroup
  8. def combinen(a: Unit, n: Int): Unit

    Return a combined with itself n times.

    Return a combined with itself n times.

    Definition Classes
    GroupMonoidSemigroup
  9. def combinenAboveOne(a: Unit, n: Int): Unit
    Attributes
    protected
    Definition Classes
    Semigroup
  10. def compare(x: Unit, y: Unit): Int
    Definition Classes
    UnitOrderOrder
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def eqv(x: Unit, y: Unit): Boolean

    Returns true if x and y are equivalent, false otherwise.

    Returns true if x and y are equivalent, false otherwise.

    Definition Classes
    UnitOrderOrderPartialOrderEq
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def gt(x: Unit, y: Unit): Boolean
    Definition Classes
    UnitOrderOrderPartialOrder
  17. def gteqv(x: Unit, y: Unit): Boolean
    Definition Classes
    UnitOrderOrderPartialOrder
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  19. def id: Unit

    Return the identity element for this monoid.

    Return the identity element for this monoid.

    Definition Classes
    UnitAbGroupMonoid
  20. def inverse(a: Unit): Unit

    Return the inverse of a.

    Return the inverse of a.

    Definition Classes
    UnitAbGroupGroup
  21. def isId(a: Unit)(implicit ev: Eq[Unit]): Boolean

    Tests if a is the identity.

    Tests if a is the identity.

    Definition Classes
    Monoid
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def lt(x: Unit, y: Unit): Boolean
    Definition Classes
    UnitOrderOrderPartialOrder
  24. def lteqv(x: Unit, y: Unit): Boolean
    Definition Classes
    UnitOrderOrderPartialOrder
  25. def max(x: Unit, y: Unit): Unit
    Definition Classes
    UnitOrderOrder
  26. def min(x: Unit, y: Unit): Unit
    Definition Classes
    UnitOrderOrder
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def neqv(x: Unit, y: Unit): Boolean

    Returns false if x and y are equivalent, true otherwise.

    Returns false if x and y are equivalent, true otherwise.

    Definition Classes
    UnitOrderEq
  29. final def notify(): Unit
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  31. def on[B](f: (B) ⇒ Unit): Order[B]

    Defines an order on B by mapping B to A using f and using As order to order B.

    Defines an order on B by mapping B to A using f and using As order to order B.

    Definition Classes
    OrderPartialOrderEq
  32. def op(x: Unit, y: Unit): Unit
    Definition Classes
    UnitAbGroupSemigroup
  33. def opInverse(a: Unit, b: Unit): Unit

    Combine a with the inverse of b.

    Combine a with the inverse of b.

    Definition Classes
    Group
  34. def partialCompare(x: Unit, y: Unit): Double

    Result of comparing x with y.

    Result of comparing x with y. Returns NaN if operands are not comparable. If operands are comparable, returns a Double whose sign is: - negative iff x < y - zero iff x === y - positive iff x > y

    Definition Classes
    OrderPartialOrder
  35. def pmax(x: Unit, y: Unit): Option[Unit]

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

    Definition Classes
    PartialOrder
  36. def pmin(x: Unit, y: Unit): Option[Unit]

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

    Definition Classes
    PartialOrder
  37. def reverse: Order[Unit]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def tryCompare(x: Unit, y: Unit): Option[Int]

    Result of comparing x with y.

    Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is: - negative iff x < y - zero iff x == y - positive iff x > y

    Definition Classes
    PartialOrder
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UnitOrder

Inherited from Serializable

Inherited from Serializable

Inherited from Order[Unit]

Inherited from PartialOrder[Unit]

Inherited from Eq[Unit]

Inherited from UnitAbGroup

Inherited from AbGroup[Unit]

Inherited from CMonoid[Unit]

Inherited from CSemigroup[Unit]

Inherited from Group[Unit]

Inherited from Monoid[Unit]

Inherited from Semigroup[Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped