Trait

dsptools.numbers

DspRealIsReal

Related Doc: package numbers

Permalink

trait DspRealIsReal extends IsReal[DspReal] with DspRealOrder with DspRealSigned with hasContext

Linear Supertypes
DspRealSigned, DspRealRing, Ring[DspReal], algebra.ring.Ring[DspReal], Rng[DspReal], AdditiveCommutativeGroup[DspReal], algebra.ring.AdditiveGroup[DspReal], Rig[DspReal], MultiplicativeMonoid[DspReal], Semiring[DspReal], MultiplicativeSemigroup[DspReal], AdditiveCommutativeMonoid[DspReal], AdditiveCommutativeSemigroup[DspReal], AdditiveMonoid[DspReal], AdditiveSemigroup[DspReal], Serializable, Serializable, DspRealOrder, hasContext, IsReal[DspReal], Signed[DspReal], Order[DspReal], PartialOrder[DspReal], Eq[DspReal], Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DspRealIsReal
  2. DspRealSigned
  3. DspRealRing
  4. Ring
  5. Ring
  6. Rng
  7. AdditiveCommutativeGroup
  8. AdditiveGroup
  9. Rig
  10. MultiplicativeMonoid
  11. Semiring
  12. MultiplicativeSemigroup
  13. AdditiveCommutativeMonoid
  14. AdditiveCommutativeSemigroup
  15. AdditiveMonoid
  16. AdditiveSemigroup
  17. Serializable
  18. Serializable
  19. DspRealOrder
  20. hasContext
  21. IsReal
  22. Signed
  23. Order
  24. PartialOrder
  25. Eq
  26. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def abs(a: DspReal): DspReal

    Permalink

    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
    DspRealSignedSigned
  5. def additive: CommutativeGroup[DspReal]

    Permalink
    Definition Classes
    AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def ceil(a: DspReal): DspReal

    Permalink

    Rounds a the nearest integer that is greater than or equal to a.

    Rounds a the nearest integer that is greater than or equal to a.

    Definition Classes
    DspRealIsRealIsReal
  8. def compare(x: DspReal, y: DspReal): ComparisonBundle

    Permalink
    Definition Classes
    DspRealOrderOrder
  9. def context: DspContext

    Permalink
    Definition Classes
    hasContext
  10. def context_abs(a: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealSignedSigned
  11. def context_ceil(a: DspReal): DspReal

    Permalink
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  13. def eqv(x: DspReal, y: DspReal): Bool

    Permalink

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

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

    Definition Classes
    DspRealOrderOrderPartialOrderEq
  14. def floor(a: DspReal): DspReal

    Permalink

    Rounds a the nearest integer that is less than or equal to a.

    Rounds a the nearest integer that is less than or equal to a.

    Definition Classes
    DspRealIsRealIsReal
  15. def fromBigInt(n: BigInt): DspReal

    Permalink
    Definition Classes
    Ring
  16. def fromInt(n: Int): DspReal

    Permalink
    Definition Classes
    Ring
  17. def gt(x: DspReal, y: DspReal): Bool

    Permalink
    Definition Classes
    DspRealOrderOrderPartialOrder
  18. def gteqv(x: DspReal, y: DspReal): Bool

    Permalink
    Definition Classes
    DspRealOrderOrderPartialOrder
  19. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isOne(a: DspReal)(implicit ev: algebra.Eq[DspReal]): Boolean

    Permalink
    Definition Classes
    MultiplicativeMonoid
  22. def isSignNegative(a: DspReal): Bool

    Permalink
    Definition Classes
    DspRealSignedSigned
  23. def isSignNonNegative(a: DspReal): Bool

    Permalink
    Definition Classes
    Signed
  24. def isSignNonPositive(a: DspReal): Bool

    Permalink
    Definition Classes
    Signed
  25. def isSignNonZero(a: DspReal): Bool

    Permalink
    Definition Classes
    Signed
  26. def isSignPositive(a: DspReal): Bool

    Permalink
    Definition Classes
    Signed
  27. def isSignZero(a: DspReal): Bool

    Permalink
    Definition Classes
    DspRealSignedSigned
  28. def isWhole(a: DspReal): Bool

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    DspRealIsRealIsReal
  29. def isZero(a: DspReal)(implicit ev: algebra.Eq[DspReal]): Boolean

    Permalink
    Definition Classes
    AdditiveMonoid
  30. def lt(x: DspReal, y: DspReal): Bool

    Permalink
    Definition Classes
    DspRealOrderOrderPartialOrder
  31. def lteqv(x: DspReal, y: DspReal): Bool

    Permalink
    Definition Classes
    DspRealOrderOrderPartialOrder
  32. def max(x: DspReal, y: DspReal): DspReal

    Permalink
    Definition Classes
    Order
  33. def min(x: DspReal, y: DspReal): DspReal

    Permalink
    Definition Classes
    Order
  34. def minus(f: DspReal, g: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRing → AdditiveGroup
  35. def minusContext(f: DspReal, g: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRingRing
  36. def multiplicative: Monoid[DspReal]

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  37. def negate(f: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRing → AdditiveGroup
  38. def negateContext(f: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRingRing
  39. def neqv(x: DspReal, y: DspReal): Bool

    Permalink

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

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

    Definition Classes
    DspRealOrderEq
  40. def on[B <: Data](f: (B) ⇒ DspReal): Order[B]

    Permalink

    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
  41. def one: DspReal

    Permalink
    Definition Classes
    DspRealRing → MultiplicativeMonoid
  42. def partialCompare(x: DspReal, y: DspReal): ValidIO[ComparisonBundle]

    Permalink

    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
  43. def plus(f: DspReal, g: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRing → AdditiveSemigroup
  44. def plusContext(f: DspReal, g: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRingRing
  45. def pmax(x: DspReal, y: DspReal): ValidIO[DspReal]

    Permalink

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

    Permalink

    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
  47. def positivePow(a: DspReal, n: Int): DspReal

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  48. def positiveSumN(a: DspReal, n: Int): DspReal

    Permalink
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  49. def pow(a: DspReal, n: Int): DspReal

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  50. def product(as: TraversableOnce[DspReal]): DspReal

    Permalink
    Definition Classes
    MultiplicativeMonoid
  51. def reverse: Order[DspReal]

    Permalink

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  52. def round(a: DspReal): DspReal

    Permalink

    Rounds a to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e.

    Rounds a to the nearest integer (When the fractional part is 0.5, tie breaking rounds to positive infinity i.e. round half up)

    Definition Classes
    DspRealIsRealIsReal
  53. def sign(a: DspReal): Sign

    Permalink

    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
    Signed
  54. def signum(a: DspReal): ComparisonBundle

    Permalink

    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
    DspRealSignedSigned
  55. def sum(as: TraversableOnce[DspReal]): DspReal

    Permalink
    Definition Classes
    AdditiveMonoid
  56. def sumN(a: DspReal, n: Int): DspReal

    Permalink
    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  57. def times(f: DspReal, g: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRing → MultiplicativeSemigroup
  58. def timesContext(f: DspReal, g: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealRingRing
  59. def toString(): String

    Permalink
    Definition Classes
    Any
  60. def truncate(a: DspReal): DspReal

    Permalink
    Definition Classes
    DspRealIsRealIsReal
  61. def tryProduct(as: TraversableOnce[DspReal]): Option[DspReal]

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  62. def trySum(as: TraversableOnce[DspReal]): Option[DspReal]

    Permalink
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  63. def zero: DspReal

    Permalink
    Definition Classes
    DspRealRing → AdditiveMonoid

Inherited from DspRealSigned

Inherited from DspRealRing

Inherited from Ring[DspReal]

Inherited from algebra.ring.Ring[DspReal]

Inherited from Rng[DspReal]

Inherited from AdditiveCommutativeGroup[DspReal]

Inherited from algebra.ring.AdditiveGroup[DspReal]

Inherited from Rig[DspReal]

Inherited from MultiplicativeMonoid[DspReal]

Inherited from Semiring[DspReal]

Inherited from MultiplicativeSemigroup[DspReal]

Inherited from AdditiveCommutativeMonoid[DspReal]

Inherited from AdditiveCommutativeSemigroup[DspReal]

Inherited from AdditiveMonoid[DspReal]

Inherited from AdditiveSemigroup[DspReal]

Inherited from Serializable

Inherited from Serializable

Inherited from DspRealOrder

Inherited from hasContext

Inherited from IsReal[DspReal]

Inherited from Signed[DspReal]

Inherited from Order[DspReal]

Inherited from PartialOrder[DspReal]

Inherited from Eq[DspReal]

Inherited from Any

Ungrouped