Packages

t

dsptools.numbers

UIntInteger

trait UIntInteger extends UIntRing with UIntIsReal with ConvertableToUInt with ConvertableFromUInt with BinaryRepresentationUInt with IntegerBits[UInt] with hasContext

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UIntInteger
  2. IntegerBits
  3. Integer
  4. RealBits
  5. Real
  6. BinaryRepresentationUInt
  7. BinaryRepresentation
  8. ConvertableFromUInt
  9. ChiselConvertableFrom
  10. ConvertableToUInt
  11. ConvertableTo
  12. ConvertableTo
  13. UIntIsReal
  14. UIntSigned
  15. UIntOrder
  16. IsIntegral
  17. IsReal
  18. Signed
  19. Order
  20. PartialOrder
  21. Eq
  22. UIntRing
  23. hasContext
  24. Ring
  25. Ring
  26. Rng
  27. AdditiveCommutativeGroup
  28. AdditiveGroup
  29. Rig
  30. MultiplicativeMonoid
  31. Semiring
  32. MultiplicativeSemigroup
  33. AdditiveCommutativeMonoid
  34. AdditiveCommutativeSemigroup
  35. AdditiveMonoid
  36. AdditiveSemigroup
  37. Serializable
  38. AnyRef
  39. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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: UInt): UInt

    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
    UIntSignedSigned
  5. def additive: CommutativeGroup[UInt]
    Definition Classes
    AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  6. def asFixed(a: UInt, proto: FixedPoint): FixedPoint
  7. def asFixed(a: UInt): FixedPoint
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asInterval(a: UInt, proto: Interval): Interval
  10. def asInterval(a: UInt): Interval
  11. def asReal(a: UInt): DspReal
  12. def ceil(a: UInt): UInt

    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
    IsIntegralIsReal
  13. def clip(a: UInt, n: UInt): UInt
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  15. def compare(x: UInt, y: UInt): ComparisonBundle
    Definition Classes
    UIntOrderOrder
  16. def context: DspContext
    Definition Classes
    hasContext
  17. def context_abs(a: UInt): UInt
    Definition Classes
    UIntSignedSigned
  18. def div2(a: UInt, n: Int): UInt
    Definition Classes
    BinaryRepresentation
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def eqv(x: UInt, y: UInt): Bool

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

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

    Definition Classes
    UIntOrderOrderPartialOrderEq
  22. def floor(a: UInt): UInt

    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
    IsIntegralIsReal
  23. def fromAlgebraic(a: Algebraic): UInt
    Definition Classes
    Real → ConvertableTo
  24. def fromBigDecimal(n: BigDecimal): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  25. def fromBigInt(n: BigInt): UInt
    Definition Classes
    UIntIntegerConvertableToUInt → ConvertableTo → Ring
  26. def fromByte(n: Byte): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  27. def fromDouble(d: Double, a: UInt): UInt
    Definition Classes
    ConvertableToUIntConvertableTo
  28. def fromDouble(n: Double): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  29. def fromDoubleWithFixedWidth(d: Double, a: UInt): UInt
    Definition Classes
    ConvertableToUIntConvertableTo
  30. def fromFloat(n: Float): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  31. def fromInt(n: Int): UInt
    Definition Classes
    UIntIntegerConvertableToUInt → ConvertableTo → Ring
  32. def fromLong(n: Long): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  33. def fromRational(a: Rational): UInt
    Definition Classes
    Real → ConvertableTo
  34. def fromReal(a: spire.math.Real): UInt
    Definition Classes
    Real → ConvertableTo
  35. def fromShort(n: Short): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  36. def fromType[B](n: B)(implicit c: ConvertableFrom[B]): UInt
    Definition Classes
    ConvertableToUInt → ConvertableTo
  37. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def gt(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  39. def gteqv(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. def intPart(a: UInt): SInt
  42. def isEven(a: UInt): Bool
    Definition Classes
    IsIntegral
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def isOdd(a: UInt): Bool
    Definition Classes
    UIntIsRealIsIntegral
  45. def isOne(a: UInt)(implicit ev: algebra.Eq[UInt]): Boolean
    Definition Classes
    MultiplicativeMonoid
  46. def isSignNegative(a: UInt): Bool
    Definition Classes
    UIntSignedSigned
  47. def isSignNonNegative(a: UInt): Bool
    Definition Classes
    Signed
  48. def isSignNonPositive(a: UInt): Bool
    Definition Classes
    Signed
  49. def isSignNonZero(a: UInt): Bool
    Definition Classes
    Signed
  50. def isSignPositive(a: UInt): Bool
    Definition Classes
    UIntSignedSigned
  51. def isSignZero(a: UInt): Bool
    Definition Classes
    UIntSignedSigned
  52. def isWhole(a: UInt): Bool

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  53. def isZero(a: UInt)(implicit ev: algebra.Eq[UInt]): Boolean
    Definition Classes
    AdditiveMonoid
  54. def lt(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  55. def lteqv(x: UInt, y: UInt): Bool
    Definition Classes
    UIntOrderOrderPartialOrder
  56. def max(x: UInt, y: UInt): UInt
    Definition Classes
    Order
  57. def min(x: UInt, y: UInt): UInt
    Definition Classes
    Order
  58. def minus(f: UInt, g: UInt): UInt
    Definition Classes
    UIntRing → AdditiveGroup
  59. def minusContext(f: UInt, g: UInt): UInt
    Definition Classes
    UIntRingRing
  60. def mod(a: UInt, b: UInt): UInt
    Definition Classes
    UIntIsRealIsIntegral
  61. def mul2(a: UInt, n: Int): UInt
    Definition Classes
    BinaryRepresentation
  62. def multiplicative: Monoid[UInt]
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. def negate(f: UInt): UInt
    Definition Classes
    UIntRing → AdditiveGroup
  65. def negateContext(f: UInt): UInt
    Definition Classes
    UIntRingRing
  66. def neqv(x: UInt, y: UInt): Bool

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

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

    Definition Classes
    UIntOrderEq
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  69. def on[B <: Data](f: (B) => UInt): 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
  70. def one: UInt
    Definition Classes
    UIntRing → MultiplicativeMonoid
  71. def partialCompare(x: UInt, y: UInt): 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
  72. def plus(f: UInt, g: UInt): UInt
    Definition Classes
    UIntRing → AdditiveSemigroup
  73. def plusContext(f: UInt, g: UInt): UInt
    Definition Classes
    UIntRingRing
  74. def pmax(x: UInt, y: UInt): ValidIO[UInt]

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

    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
  76. def positivePow(a: UInt, n: Int): UInt
    Attributes
    protected[this]
    Definition Classes
    MultiplicativeSemigroup
  77. def positiveSumN(a: UInt, n: Int): UInt
    Attributes
    protected[this]
    Definition Classes
    AdditiveSemigroup
  78. def pow(a: UInt, n: Int): UInt
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  79. def product(as: TraversableOnce[UInt]): UInt
    Definition Classes
    MultiplicativeMonoid
  80. def reverse: Order[UInt]

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  81. def round(a: UInt): UInt

    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
    IsIntegralIsReal
  82. def shl(a: UInt, n: UInt): UInt
  83. def shl(a: UInt, n: Int): UInt
  84. def shr(a: UInt, n: UInt): UInt
  85. def shr(a: UInt, n: Int): UInt
  86. def sign(a: UInt): 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
    Signed
  87. def signBit(a: UInt): Bool
    Definition Classes
    UIntIntegerBinaryRepresentation
  88. def signum(a: UInt): 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
    UIntSignedSigned
  89. def sum(as: TraversableOnce[UInt]): UInt
    Definition Classes
    AdditiveMonoid
  90. def sumN(a: UInt, n: Int): UInt
    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  91. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  92. def times(f: UInt, g: UInt): UInt
    Definition Classes
    UIntRing → MultiplicativeSemigroup
  93. def timesContext(f: UInt, g: UInt): UInt
    Definition Classes
    UIntRingRing
  94. def toString(): String
    Definition Classes
    AnyRef → Any
  95. def trimBinary(a: UInt, n: Option[Int]): UInt
  96. def trimBinary(a: UInt, n: Int): UInt
  97. def truncate(a: UInt): UInt
    Definition Classes
    IsIntegralIsReal
  98. def tryProduct(as: TraversableOnce[UInt]): Option[UInt]
    Definition Classes
    MultiplicativeMonoid → MultiplicativeSemigroup
  99. def trySum(as: TraversableOnce[UInt]): Option[UInt]
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  100. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  101. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  102. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  103. def zero: UInt
    Definition Classes
    UIntRing → AdditiveMonoid

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from IntegerBits[UInt]

Inherited from Integer[UInt]

Inherited from RealBits[UInt]

Inherited from Real[UInt]

Inherited from BinaryRepresentation[UInt]

Inherited from ConvertableFromUInt

Inherited from ChiselConvertableFrom[UInt]

Inherited from ConvertableToUInt

Inherited from ConvertableTo[UInt]

Inherited from spire.math.ConvertableTo[UInt]

Inherited from UIntIsReal

Inherited from UIntSigned

Inherited from UIntOrder

Inherited from IsIntegral[UInt]

Inherited from IsReal[UInt]

Inherited from Signed[UInt]

Inherited from Order[UInt]

Inherited from PartialOrder[UInt]

Inherited from Eq[UInt]

Inherited from UIntRing

Inherited from hasContext

Inherited from Ring[UInt]

Inherited from algebra.ring.Ring[UInt]

Inherited from Rng[UInt]

Inherited from AdditiveCommutativeGroup[UInt]

Inherited from algebra.ring.AdditiveGroup[UInt]

Inherited from Rig[UInt]

Inherited from MultiplicativeMonoid[UInt]

Inherited from Semiring[UInt]

Inherited from MultiplicativeSemigroup[UInt]

Inherited from AdditiveCommutativeMonoid[UInt]

Inherited from AdditiveCommutativeSemigroup[UInt]

Inherited from AdditiveMonoid[UInt]

Inherited from AdditiveSemigroup[UInt]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped