Object

dsptools.numbers.SIntImpl

SIntIntegerImpl

Related Doc: package SIntImpl

Permalink

implicit object SIntIntegerImpl extends SIntInteger

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SIntIntegerImpl
  2. SIntInteger
  3. IntegerBits
  4. Integer
  5. RealBits
  6. Real
  7. BinaryRepresentationSInt
  8. BinaryRepresentation
  9. ConvertableFromSInt
  10. ChiselConvertableFrom
  11. ConvertableToSInt
  12. ConvertableTo
  13. ConvertableTo
  14. SIntIsReal
  15. SIntSigned
  16. SIntOrder
  17. IsIntegral
  18. IsReal
  19. Signed
  20. Order
  21. PartialOrder
  22. Eq
  23. SIntRing
  24. hasContext
  25. Ring
  26. Ring
  27. Rng
  28. AdditiveCommutativeGroup
  29. AdditiveGroup
  30. Rig
  31. MultiplicativeMonoid
  32. Semiring
  33. MultiplicativeSemigroup
  34. AdditiveCommutativeMonoid
  35. AdditiveCommutativeSemigroup
  36. AdditiveMonoid
  37. AdditiveSemigroup
  38. Serializable
  39. Serializable
  40. AnyRef
  41. 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: SInt): SInt

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

    Permalink
    Definition Classes
    AdditiveCommutativeGroup → AdditiveCommutativeMonoid → AdditiveCommutativeSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  6. def asFixed(a: SInt, proto: FixedPoint): FixedPoint

    Permalink
  7. def asFixed(a: SInt): FixedPoint

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def asInterval(a: SInt, proto: Interval): Interval

    Permalink
  10. def asInterval(a: SInt): Interval

    Permalink
  11. def asReal(a: SInt): DspReal

    Permalink
  12. def ceil(a: SInt): SInt

    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
    IsIntegralIsReal
  13. def clip(a: SInt, b: SInt): SInt

    Permalink
  14. def clone(): AnyRef

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

    Permalink
    Definition Classes
    SIntOrderOrder
  16. def context: DspContext

    Permalink
    Definition Classes
    hasContext
  17. def context_abs(a: SInt): SInt

    Permalink
    Definition Classes
    SIntIntegerSigned
  18. def div2(a: SInt, n: Int): SInt

    Permalink
    Definition Classes
    SIntIntegerBinaryRepresentation
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def eqv(x: SInt, y: SInt): Bool

    Permalink

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

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

    Definition Classes
    SIntOrderOrderPartialOrderEq
  22. def floor(a: SInt): SInt

    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
    IsIntegralIsReal
  23. def fromAlgebraic(a: Algebraic): SInt

    Permalink
    Definition Classes
    Real → ConvertableTo
  24. def fromBigDecimal(n: BigDecimal): SInt

    Permalink
    Definition Classes
    ConvertableToSInt → ConvertableTo
  25. def fromBigInt(n: BigInt): SInt

    Permalink
    Definition Classes
    SIntIntegerConvertableToSInt → ConvertableTo → Ring
  26. def fromByte(n: Byte): SInt

    Permalink
    Definition Classes
    ConvertableToSInt → ConvertableTo
  27. def fromDouble(d: Double, a: SInt): SInt

    Permalink
    Definition Classes
    ConvertableToSIntConvertableTo
  28. def fromDouble(n: Double): SInt

    Permalink
    Definition Classes
    ConvertableToSInt → ConvertableTo
  29. def fromDoubleWithFixedWidth(d: Double, a: SInt): SInt

    Permalink
    Definition Classes
    ConvertableToSIntConvertableTo
  30. def fromFloat(n: Float): SInt

    Permalink
    Definition Classes
    ConvertableToSInt → ConvertableTo
  31. def fromInt(n: Int): SInt

    Permalink
    Definition Classes
    SIntIntegerConvertableToSInt → ConvertableTo → Ring
  32. def fromLong(n: Long): SInt

    Permalink
    Definition Classes
    ConvertableToSInt → ConvertableTo
  33. def fromRational(a: Rational): SInt

    Permalink
    Definition Classes
    Real → ConvertableTo
  34. def fromReal(a: spire.math.Real): SInt

    Permalink
    Definition Classes
    Real → ConvertableTo
  35. def fromShort(n: Short): SInt

    Permalink
    Definition Classes
    ConvertableToSInt → ConvertableTo
  36. def fromType[B](n: B)(implicit c: ConvertableFrom[B]): SInt

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  38. def gt(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  39. def gteqv(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  40. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  41. def intPart(a: SInt): SInt

    Permalink
  42. def isEven(a: SInt): Bool

    Permalink
    Definition Classes
    IsIntegral
  43. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  44. def isOdd(a: SInt): Bool

    Permalink
    Definition Classes
    SIntIsRealIsIntegral
  45. def isOne(a: SInt)(implicit ev: algebra.Eq[SInt]): Boolean

    Permalink
    Definition Classes
    MultiplicativeMonoid
  46. def isSignNegative(a: SInt): Bool

    Permalink
    Definition Classes
    SIntSignedSigned
  47. def isSignNonNegative(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  48. def isSignNonPositive(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  49. def isSignNonZero(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  50. def isSignPositive(a: SInt): Bool

    Permalink
    Definition Classes
    Signed
  51. def isSignZero(a: SInt): Bool

    Permalink
    Definition Classes
    SIntSignedSigned
  52. def isWhole(a: SInt): Bool

    Permalink

    Returns true iff a is a an integer.

    Returns true iff a is a an integer.

    Definition Classes
    IsIntegralIsReal
  53. def isZero(a: SInt)(implicit ev: algebra.Eq[SInt]): Boolean

    Permalink
    Definition Classes
    AdditiveMonoid
  54. def lt(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  55. def lteqv(x: SInt, y: SInt): Bool

    Permalink
    Definition Classes
    SIntOrderOrderPartialOrder
  56. def max(x: SInt, y: SInt): SInt

    Permalink
    Definition Classes
    Order
  57. def min(x: SInt, y: SInt): SInt

    Permalink
    Definition Classes
    Order
  58. def minus(f: SInt, g: SInt): SInt

    Permalink
    Definition Classes
    SIntRing → AdditiveGroup
  59. def minusContext(f: SInt, g: SInt): SInt

    Permalink
    Definition Classes
    SIntRingRing
  60. def mod(a: SInt, b: SInt): SInt

    Permalink
    Definition Classes
    SIntIsRealIsIntegral
  61. def mul2(a: SInt, n: Int): SInt

    Permalink
    Definition Classes
    BinaryRepresentation
  62. def multiplicative: Monoid[SInt]

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

    Permalink
    Definition Classes
    AnyRef
  64. def negate(f: SInt): SInt

    Permalink
    Definition Classes
    SIntRing → AdditiveGroup
  65. def negateContext(f: SInt): SInt

    Permalink
    Definition Classes
    SIntRingRing
  66. def neqv(x: SInt, y: SInt): Bool

    Permalink

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

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

    Definition Classes
    SIntOrderEq
  67. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  68. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  69. def on[B <: Data](f: (B) ⇒ SInt): 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
  70. def one: SInt

    Permalink
    Definition Classes
    SIntRing → MultiplicativeMonoid
  71. def partialCompare(x: SInt, y: SInt): 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
  72. def plus(f: SInt, g: SInt): SInt

    Permalink
    Definition Classes
    SIntRing → AdditiveSemigroup
  73. def plusContext(f: SInt, g: SInt): SInt

    Permalink
    Definition Classes
    SIntRingRing
  74. def pmax(x: SInt, y: SInt): ValidIO[SInt]

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

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

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

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

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

    Permalink
    Definition Classes
    MultiplicativeMonoid
  80. def reverse: Order[SInt]

    Permalink

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

    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
    IsIntegralIsReal
  82. def shl(a: SInt, n: UInt): SInt

    Permalink
  83. def shl(a: SInt, n: Int): SInt

    Permalink
  84. def shr(a: SInt, n: UInt): SInt

    Permalink
  85. def shr(a: SInt, n: Int): SInt

    Permalink
  86. def sign(a: SInt): 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
  87. def signBit(a: SInt): Bool

    Permalink
    Definition Classes
    SIntIntegerBinaryRepresentation
  88. def signum(a: SInt): 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
    SIntSignedSigned
  89. def sum(as: TraversableOnce[SInt]): SInt

    Permalink
    Definition Classes
    AdditiveMonoid
  90. def sumN(a: SInt, n: Int): SInt

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

    Permalink
    Definition Classes
    AnyRef
  92. def times(f: SInt, g: SInt): SInt

    Permalink
    Definition Classes
    SIntRing → MultiplicativeSemigroup
  93. def timesContext(f: SInt, g: SInt): SInt

    Permalink
    Definition Classes
    SIntRingRing
  94. def toString(): String

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

    Permalink
  96. def trimBinary(a: SInt, n: Int): SInt

    Permalink
  97. def truncate(a: SInt): SInt

    Permalink
    Definition Classes
    IsIntegralIsReal
  98. def tryProduct(as: TraversableOnce[SInt]): Option[SInt]

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

    Permalink
    Definition Classes
    AdditiveMonoid → AdditiveSemigroup
  100. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. def zero: SInt

    Permalink
    Definition Classes
    SIntRing → AdditiveMonoid

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from SIntInteger

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