Packages

c

dsptools.numbers.Sign

SignAlgebra

class SignAlgebra extends CMonoid[Sign] with Signed[Sign] with Order[Sign]

Linear Supertypes
Order[Sign], PartialOrder[Sign], Eq[Sign], Signed[Sign], CommutativeMonoid[Sign], CommutativeSemigroup[Sign], Monoid[Sign], Semigroup[Sign], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SignAlgebra
  2. Order
  3. PartialOrder
  4. Eq
  5. Signed
  6. CommutativeMonoid
  7. CommutativeSemigroup
  8. Monoid
  9. Semigroup
  10. Serializable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SignAlgebra()

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 combine(a: Sign, b: Sign): Sign
    Definition Classes
    SignAlgebra → Semigroup
  8. def combineAll(as: TraversableOnce[Sign]): Sign
    Definition Classes
    Monoid
  9. def combineAllOption(as: TraversableOnce[Sign]): Option[Sign]
    Definition Classes
    Monoid → Semigroup
  10. def combineN(a: Sign, n: Int): Sign
    Definition Classes
    Monoid → Semigroup
  11. def compare(x: Sign, y: Sign): ComparisonBundle
    Definition Classes
    SignAlgebraOrder
  12. def context_abs(a: Sign): Sign
    Definition Classes
    SignAlgebraSigned
  13. def empty: Sign
    Definition Classes
    SignAlgebra → Monoid
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def eqv(x: Sign, y: Sign): Bool

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

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

    Definition Classes
    OrderPartialOrderEq
  17. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def gt(x: Sign, y: Sign): Bool
    Definition Classes
    OrderPartialOrder
  20. def gteqv(x: Sign, y: Sign): Bool
    Definition Classes
    OrderPartialOrder
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  22. def isEmpty(a: Sign)(implicit ev: cats.kernel.Eq[Sign]): Boolean
    Definition Classes
    Monoid
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isSignNegative(a: Sign): Bool
    Definition Classes
    Signed
  25. def isSignNonNegative(a: Sign): Bool
    Definition Classes
    Signed
  26. def isSignNonPositive(a: Sign): Bool
    Definition Classes
    Signed
  27. def isSignNonZero(a: Sign): Bool
    Definition Classes
    Signed
  28. def isSignPositive(a: Sign): Bool
    Definition Classes
    Signed
  29. def isSignZero(a: Sign): Bool
    Definition Classes
    Signed
  30. def lt(x: Sign, y: Sign): Bool
    Definition Classes
    OrderPartialOrder
  31. def lteqv(x: Sign, y: Sign): Bool
    Definition Classes
    OrderPartialOrder
  32. def max(x: Sign, y: Sign): Sign
    Definition Classes
    Order
  33. def min(x: Sign, y: Sign): Sign
    Definition Classes
    Order
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def neqv(x: Sign, y: Sign): Bool

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

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

    Definition Classes
    Eq
  36. final def notify(): Unit
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  38. def on[B <: Data](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
    OrderPartialOrderEq
  39. def partialCompare(x: Sign, y: Sign): ValidIO[ComparisonBundle]

    Result of comparing x with y.

    Result of comparing x with y. Returns ValidIO[ComparisonBundle] with valid false if operands are not comparable. If operands are comparable, bits.lt will be true if x < y and bits.eq will be true if x = y

    Definition Classes
    OrderPartialOrder
  40. def pmax(x: Sign, y: Sign): ValidIO[Sign]

    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
  41. def pmin(x: Sign, y: Sign): ValidIO[Sign]

    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
  42. def repeatedCombineN(a: Sign, n: Int): Sign
    Attributes
    protected[this]
    Definition Classes
    Semigroup
  43. 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
    OrderPartialOrder
  44. 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
  45. def signum(a: Sign): ComparisonBundle

    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
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Order[Sign]

Inherited from PartialOrder[Sign]

Inherited from Eq[Sign]

Inherited from Signed[Sign]

Inherited from CommutativeMonoid[Sign]

Inherited from CommutativeSemigroup[Sign]

Inherited from Monoid[Sign]

Inherited from Semigroup[Sign]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped