spire.algebra.Sign

SignAlgebra

trait SignAlgebra extends Group[Sign] with Signed[Sign] with Order[Sign]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SignAlgebra
  2. Order
  3. Eq
  4. Signed
  5. Group
  6. Monoid
  7. Semigroup
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. def abs(a: Sign): Sign

    An idempotent function that ensures an object has a non-negative sign.

    An idempotent function that ensures an object has a non-negative sign.

    Definition Classes
    SignAlgebraSigned
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compare(x: Sign, y: Sign): Int

    Definition Classes
    SignAlgebraOrder
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def eqv(x: Sign, y: Sign): Boolean

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

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

    Definition Classes
    OrderEq
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def gt(x: Sign, y: Sign): Boolean

    Definition Classes
    Order
  14. def gteqv(x: Sign, y: Sign): Boolean

    Definition Classes
    Order
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. def id: Sign

    Return the identity element for this monoid.

    Return the identity element for this monoid.

    Definition Classes
    SignAlgebraMonoid
  17. def inverse(a: Sign): Sign

    Return the inverse of a.

    Return the inverse of a.

    Definition Classes
    SignAlgebraGroup
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isZero(a: Sign): Boolean

    Definition Classes
    Signed
  20. def lt(x: Sign, y: Sign): Boolean

    Definition Classes
    Order
  21. def lteqv(x: Sign, y: Sign): Boolean

    Definition Classes
    Order
  22. def max(x: Sign, y: Sign): Sign

    Definition Classes
    Order
  23. def min(x: Sign, y: Sign): Sign

    Definition Classes
    Order
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def neqv(x: Sign, y: Sign): Boolean

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

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

    Definition Classes
    Eq
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. def on[B](f: (B) ⇒ Sign): 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
    OrderEq
  29. def op(a: Sign, b: Sign): Sign

    Definition Classes
    SignAlgebraSemigroup
  30. def opInverse(a: Sign, b: Sign): Sign

    Combine a with the inverse of b.

    Combine a with the inverse of b.

    Definition Classes
    Group
  31. def reverse: Order[Sign]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    Order
  32. def sign(a: Sign): Sign

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Returns Zero if a is 0, Positive if a is positive, and Negative is a is negative.

    Definition Classes
    SignAlgebraSigned
  33. def signum(a: Sign): Int

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Returns 0 if a is 0, > 0 if a is positive, and < 0 is a is negative.

    Definition Classes
    SignAlgebraSigned
  34. def sum(as: TraversableOnce[Sign]): Sign

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

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

    Definition Classes
    Monoid
  35. def sumOption(as: TraversableOnce[Sign]): Option[Sign]

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

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

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

    Definition Classes
    Semigroup
  36. def sumn(a: Sign, n: Int): Sign

    Return a combined with itself n times.

    Return a combined with itself n times.

    Definition Classes
    GroupMonoidSemigroup
  37. def sumnAboveOne(a: Sign, n: Int): Sign

    Attributes
    protected
    Definition Classes
    Semigroup
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Order[Sign]

Inherited from Eq[Sign]

Inherited from Signed[Sign]

Inherited from Group[Sign]

Inherited from Monoid[Sign]

Inherited from Semigroup[Sign]

Inherited from AnyRef

Inherited from Any

Ungrouped