Trait

dsptools.numbers

DspRealReal

Related Doc: package numbers

Permalink

trait DspRealReal extends DspRealRing with DspRealIsReal with ConvertableToDspReal with ConvertableFromDspReal with BinaryRepresentationDspReal with RealBits[DspReal] with hasContext

Linear Supertypes
RealBits[DspReal], Real[DspReal], BinaryRepresentationDspReal, BinaryRepresentation[DspReal], ConvertableFromDspReal, ChiselConvertableFrom[DspReal], ConvertableToDspReal, ConvertableTo[DspReal], spire.math.ConvertableTo[DspReal], DspRealIsReal, DspRealSigned, DspRealOrder, IsReal[DspReal], Signed[DspReal], Order[DspReal], PartialOrder[DspReal], Eq[DspReal], DspRealRing, hasContext, 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, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DspRealReal
  2. RealBits
  3. Real
  4. BinaryRepresentationDspReal
  5. BinaryRepresentation
  6. ConvertableFromDspReal
  7. ChiselConvertableFrom
  8. ConvertableToDspReal
  9. ConvertableTo
  10. ConvertableTo
  11. DspRealIsReal
  12. DspRealSigned
  13. DspRealOrder
  14. IsReal
  15. Signed
  16. Order
  17. PartialOrder
  18. Eq
  19. DspRealRing
  20. hasContext
  21. Ring
  22. Ring
  23. Rng
  24. AdditiveCommutativeGroup
  25. AdditiveGroup
  26. Rig
  27. MultiplicativeMonoid
  28. Semiring
  29. MultiplicativeSemigroup
  30. AdditiveCommutativeMonoid
  31. AdditiveCommutativeSemigroup
  32. AdditiveMonoid
  33. AdditiveSemigroup
  34. Serializable
  35. Serializable
  36. AnyRef
  37. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → 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. def asFixed(a: DspReal, proto: FixedPoint): FixedPoint

    Permalink
    Definition Classes
    DspRealRealChiselConvertableFrom
  7. def asFixed(a: DspReal): FixedPoint

    Permalink
    Definition Classes
    ChiselConvertableFrom
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def asReal(a: DspReal): DspReal

    Permalink
  10. 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
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compare(x: DspReal, y: DspReal): ComparisonBundle

    Permalink
    Definition Classes
    DspRealOrderOrder
  13. def context: DspContext

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

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

    Permalink
    Definition Classes
    DspRealIsReal
  16. def div2(a: DspReal, n: Int): DspReal

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. 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
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. 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
  22. def fromAlgebraic(a: Algebraic): DspReal

    Permalink
    Definition Classes
    Real → ConvertableTo
  23. def fromBigDecimal(n: BigDecimal): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  24. def fromBigInt(n: BigInt): DspReal

    Permalink
    Definition Classes
    DspRealRealConvertableToDspReal → ConvertableTo → Ring
  25. def fromByte(n: Byte): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  26. def fromDouble(d: Double, a: DspReal): DspReal

    Permalink
    Definition Classes
    ConvertableToDspRealConvertableTo
  27. def fromDouble(n: Double): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  28. def fromDoubleWithFixedWidth(d: Double, a: DspReal): DspReal

    Permalink
    Definition Classes
    ConvertableToDspRealConvertableTo
  29. def fromFloat(n: Float): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  30. def fromInt(n: Int): DspReal

    Permalink
    Definition Classes
    DspRealRealConvertableToDspReal → ConvertableTo → Ring
  31. def fromLong(n: Long): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  32. def fromRational(a: Rational): DspReal

    Permalink
    Definition Classes
    Real → ConvertableTo
  33. def fromReal(a: spire.math.Real): DspReal

    Permalink
    Definition Classes
    Real → ConvertableTo
  34. def fromShort(n: Short): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  35. def fromType[B](n: B)(implicit c: ConvertableFrom[B]): DspReal

    Permalink
    Definition Classes
    ConvertableToDspReal → ConvertableTo
  36. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  37. def gt(x: DspReal, y: DspReal): Bool

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  40. def intPart(a: DspReal): SInt

    Permalink
    Definition Classes
    DspRealRealChiselConvertableFrom
  41. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    DspRealSignedSigned
  49. 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
  50. def isZero(a: DspReal)(implicit ev: algebra.Eq[DspReal]): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    DspRealRingRing
  57. def mul2(a: DspReal, n: Int): DspReal

    Permalink
    Definition Classes
    BinaryRepresentation
  58. def multiplicative: Monoid[DspReal]

    Permalink
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  59. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  60. def negate(f: DspReal): DspReal

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

    Permalink
    Definition Classes
    DspRealRingRing
  62. 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
  63. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  65. 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
  66. def one: DspReal

    Permalink
    Definition Classes
    DspRealRing → MultiplicativeMonoid
  67. 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
  68. def plus(f: DspReal, g: DspReal): DspReal

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

    Permalink
    Definition Classes
    DspRealRingRing
  70. 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
  71. 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
  72. def positivePow(a: DspReal, n: Int): DspReal

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

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

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

    Permalink
    Definition Classes
    MultiplicativeMonoid
  76. 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
  77. 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
  78. def shl(a: DspReal, n: UInt): DspReal

    Permalink
  79. def shl(a: DspReal, n: Int): DspReal

    Permalink
  80. def shr(a: DspReal, n: UInt): DspReal

    Permalink
    Definition Classes
    DspRealRealBinaryRepresentation
  81. def shr(a: DspReal, n: Int): DspReal

    Permalink
    Definition Classes
    DspRealRealBinaryRepresentation
  82. 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
  83. def signBit(a: DspReal): Bool

    Permalink
    Definition Classes
    DspRealRealBinaryRepresentation
  84. 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
  85. def sum(as: TraversableOnce[DspReal]): DspReal

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

    Permalink
    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  87. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  88. def times(f: DspReal, g: DspReal): DspReal

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  91. def trimBinary(a: DspReal, n: Option[Int]): DspReal

    Permalink
  92. def trimBinary(a: DspReal, n: Int): DspReal

    Permalink
    Definition Classes
    BinaryRepresentation
  93. def truncate(a: DspReal): DspReal

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

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

    Permalink
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  96. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. def zero: DspReal

    Permalink
    Definition Classes
    DspRealRing → AdditiveMonoid

Inherited from RealBits[DspReal]

Inherited from Real[DspReal]

Inherited from BinaryRepresentation[DspReal]

Inherited from ConvertableFromDspReal

Inherited from ChiselConvertableFrom[DspReal]

Inherited from ConvertableToDspReal

Inherited from ConvertableTo[DspReal]

Inherited from spire.math.ConvertableTo[DspReal]

Inherited from DspRealIsReal

Inherited from DspRealSigned

Inherited from DspRealOrder

Inherited from IsReal[DspReal]

Inherited from Signed[DspReal]

Inherited from Order[DspReal]

Inherited from PartialOrder[DspReal]

Inherited from Eq[DspReal]

Inherited from DspRealRing

Inherited from hasContext

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 AnyRef

Inherited from Any

Ungrouped