Packages

t

dsptools.numbers

SIntInteger

trait SIntInteger extends SIntRing with SIntIsReal with ConvertableToSInt with ConvertableFromSInt with BinaryRepresentationSInt with IntegerBits[SInt] with hasContext

Linear Supertypes
IntegerBits[SInt], Integer[SInt], RealBits[SInt], Real[SInt], BinaryRepresentationSInt, BinaryRepresentation[SInt], ConvertableFromSInt, ChiselConvertableFrom[SInt], ConvertableToSInt, ConvertableTo[SInt], spire.math.ConvertableTo[SInt], SIntIsReal, SIntSigned, SIntOrder, IsIntegral[SInt], IsReal[SInt], Signed[SInt], Order[SInt], PartialOrder[SInt], Eq[SInt], SIntRing, hasContext, Ring[SInt], algebra.ring.Ring[SInt], Rng[SInt], AdditiveCommutativeGroup[SInt], algebra.ring.AdditiveGroup[SInt], Rig[SInt], MultiplicativeMonoid[SInt], Semiring[SInt], MultiplicativeSemigroup[SInt], AdditiveCommutativeMonoid[SInt], AdditiveCommutativeSemigroup[SInt], AdditiveMonoid[SInt], AdditiveSemigroup[SInt], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SIntInteger
  2. IntegerBits
  3. Integer
  4. RealBits
  5. Real
  6. BinaryRepresentationSInt
  7. BinaryRepresentation
  8. ConvertableFromSInt
  9. ChiselConvertableFrom
  10. ConvertableToSInt
  11. ConvertableTo
  12. ConvertableTo
  13. SIntIsReal
  14. SIntSigned
  15. SIntOrder
  16. IsIntegral
  17. IsReal
  18. Signed
  19. Order
  20. PartialOrder
  21. Eq
  22. SIntRing
  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. Serializable
  39. AnyRef
  40. Any
  1. Hide All
  2. Show All
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: SInt): SInt

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

    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
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def compare(x: SInt, y: SInt): ComparisonBundle
    Definition Classes
    SIntOrderOrder
  13. def context: DspContext
    Definition Classes
    hasContext
  14. def context_abs(a: SInt): SInt
    Definition Classes
    SIntIntegerSigned
  15. def div2(a: SInt, n: Int): SInt
    Definition Classes
    SIntIntegerBinaryRepresentation
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def eqv(x: SInt, y: SInt): Bool

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

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

    Definition Classes
    SIntOrderOrderPartialOrderEq
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def floor(a: SInt): SInt

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

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

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

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

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

    Definition Classes
    SIntOrderEq
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  67. def on[B <: Data](f: (B) ⇒ SInt): 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
  68. def one: SInt
    Definition Classes
    SIntRing → MultiplicativeMonoid
  69. def partialCompare(x: SInt, y: SInt): 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
  70. def plus(f: SInt, g: SInt): SInt
    Definition Classes
    SIntRing → AdditiveSemigroup
  71. def plusContext(f: SInt, g: SInt): SInt
    Definition Classes
    SIntRingRing
  72. def pmax(x: SInt, y: SInt): ValidIO[SInt]

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

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

    Defines an ordering on A where all arrows switch direction.

    Defines an ordering on A where all arrows switch direction.

    Definition Classes
    OrderPartialOrder
  79. def round(a: SInt): SInt

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

Inherited from IntegerBits[SInt]

Inherited from Integer[SInt]

Inherited from RealBits[SInt]

Inherited from Real[SInt]

Inherited from BinaryRepresentationSInt

Inherited from BinaryRepresentation[SInt]

Inherited from ConvertableFromSInt

Inherited from ChiselConvertableFrom[SInt]

Inherited from ConvertableToSInt

Inherited from ConvertableTo[SInt]

Inherited from spire.math.ConvertableTo[SInt]

Inherited from SIntIsReal

Inherited from SIntSigned

Inherited from SIntOrder

Inherited from IsIntegral[SInt]

Inherited from IsReal[SInt]

Inherited from Signed[SInt]

Inherited from Order[SInt]

Inherited from PartialOrder[SInt]

Inherited from Eq[SInt]

Inherited from SIntRing

Inherited from hasContext

Inherited from Ring[SInt]

Inherited from algebra.ring.Ring[SInt]

Inherited from Rng[SInt]

Inherited from AdditiveCommutativeGroup[SInt]

Inherited from algebra.ring.AdditiveGroup[SInt]

Inherited from Rig[SInt]

Inherited from MultiplicativeMonoid[SInt]

Inherited from Semiring[SInt]

Inherited from MultiplicativeSemigroup[SInt]

Inherited from AdditiveCommutativeMonoid[SInt]

Inherited from AdditiveCommutativeSemigroup[SInt]

Inherited from AdditiveMonoid[SInt]

Inherited from AdditiveSemigroup[SInt]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped