Class

spire.math.Natural

Digit

Related Doc: package Natural

Permalink

case class Digit(d: UInt, tl: Natural) extends Natural with Serializable with Product

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Natural, Serializable, ScalaNumericConversions, ScalaNumericAnyConversions, ScalaNumber, java.lang.Number, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Digit
  2. Product
  3. Equals
  4. Natural
  5. Serializable
  6. ScalaNumericConversions
  7. ScalaNumericAnyConversions
  8. ScalaNumber
  9. Number
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Digit(d: UInt, tl: Natural)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def %(n: UInt): Natural

    Permalink
    Definition Classes
    DigitNatural
  4. def %(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  5. def %(rhs: BigInt): BigInt

    Permalink
    Definition Classes
    Natural
  6. def &(rhs: UInt): Natural

    Permalink
    Definition Classes
    Natural
  7. def &(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  8. def *(n: UInt): Natural

    Permalink
    Definition Classes
    DigitNatural
  9. def *(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  10. def *(rhs: BigInt): BigInt

    Permalink
    Definition Classes
    Natural
  11. def +(n: UInt): Natural

    Permalink
    Definition Classes
    DigitNatural
  12. def +(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  13. def +(rhs: BigInt): BigInt

    Permalink
    Definition Classes
    Natural
  14. def -(n: UInt): Natural

    Permalink
    Definition Classes
    DigitNatural
  15. def -(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  16. def -(rhs: BigInt): BigInt

    Permalink
    Definition Classes
    Natural
  17. def /(n: UInt): Natural

    Permalink
    Definition Classes
    DigitNatural
  18. def /(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  19. def /(rhs: BigInt): BigInt

    Permalink
    Definition Classes
    Natural
  20. def /%(n: UInt): (Natural, Natural)

    Permalink
    Definition Classes
    DigitNatural
  21. def /%(rhs: Natural): (Natural, Natural)

    Permalink
    Definition Classes
    Natural
  22. def /%(rhs: BigInt): (BigInt, BigInt)

    Permalink
    Definition Classes
    Natural
  23. def /~(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  24. def /~(rhs: BigInt): BigInt

    Permalink
    Definition Classes
    Natural
  25. def /~(rd: UInt): Natural

    Permalink
    Definition Classes
    Natural
  26. def <(r: BigInt): Boolean

    Permalink
    Definition Classes
    Natural
  27. def <(r: UInt): Boolean

    Permalink
    Definition Classes
    Natural
  28. def <(rhs: Natural): Boolean

    Permalink
    Definition Classes
    Natural
  29. def <<(n: Int): Natural

    Permalink
    Definition Classes
    Natural
  30. def <=(r: BigInt): Boolean

    Permalink
    Definition Classes
    Natural
  31. def <=(r: UInt): Boolean

    Permalink
    Definition Classes
    Natural
  32. def <=(rhs: Natural): Boolean

    Permalink
    Definition Classes
    Natural
  33. def =!=(rhs: Natural): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. def ===(rhs: Natural): Boolean

    Permalink
    Definition Classes
    Natural
  36. def >(r: BigInt): Boolean

    Permalink
    Definition Classes
    Natural
  37. def >(r: UInt): Boolean

    Permalink
    Definition Classes
    Natural
  38. def >(rhs: Natural): Boolean

    Permalink
    Definition Classes
    Natural
  39. def >=(r: BigInt): Boolean

    Permalink
    Definition Classes
    Natural
  40. def >=(r: UInt): Boolean

    Permalink
    Definition Classes
    Natural
  41. def >=(rhs: Natural): Boolean

    Permalink
    Definition Classes
    Natural
  42. def >>(n: Int): Natural

    Permalink
    Definition Classes
    Natural
  43. def ^(rhs: UInt): Natural

    Permalink
    Definition Classes
    Natural
  44. def ^(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  45. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  46. def byteValue(): Byte

    Permalink
    Definition Classes
    Number
  47. def chop(n: Int): Natural

    Permalink
    Definition Classes
    Natural
  48. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def compare(rhs: Natural): Int

    Permalink
    Definition Classes
    Natural
  50. def compare(rhs: UInt): Int

    Permalink
    Definition Classes
    Natural
  51. val d: UInt

    Permalink
  52. def digit: UInt

    Permalink
    Definition Classes
    DigitNatural
  53. def doubleValue(): Double

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  54. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  55. final def equals(rhs: Any): Boolean

    Permalink
    Definition Classes
    Natural → AnyRef → Any
  56. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  57. def floatValue(): Float

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  58. def foldDigitsLeft[A](a: A)(f: (A, UInt) ⇒ A): A

    Permalink
    Definition Classes
    Natural
  59. def foldDigitsRight[A](a: A)(f: (A, UInt) ⇒ A): A

    Permalink
    Definition Classes
    Natural
  60. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  61. def getDigitLength: Int

    Permalink
    Definition Classes
    Natural
  62. def getNumBits: Int

    Permalink
    Definition Classes
    Natural
  63. def intValue(): Int

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  64. def isEven: Boolean

    Permalink
    Definition Classes
    Natural
  65. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  66. def isOdd: Boolean

    Permalink
    Definition Classes
    Natural
  67. def isOne: Boolean

    Permalink
    Definition Classes
    Natural
  68. def isValidByte: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  69. def isValidChar: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  70. def isValidInt: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  71. def isValidShort: Boolean

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  72. def isWhole(): Boolean

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions → ScalaNumber
  73. def isZero: Boolean

    Permalink
    Definition Classes
    Natural
  74. def longValue(): Long

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  75. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  76. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  78. def pow(rhs: UInt): Natural

    Permalink
    Definition Classes
    Natural
  79. def pow(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural
  80. def powerOfTwo: Int

    Permalink
    Definition Classes
    Natural
  81. def reversed: Natural

    Permalink
    Definition Classes
    Natural
  82. def shortValue(): Short

    Permalink
    Definition Classes
    Number
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  84. def tail: Natural

    Permalink
  85. val tl: Natural

    Permalink
  86. def toArray: Array[Int]

    Permalink
    Definition Classes
    Natural
  87. def toBigInt: BigInt

    Permalink
    Definition Classes
    Natural
  88. def toByte: Byte

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  89. def toChar: Char

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  90. def toDouble: Double

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  91. def toFloat: Float

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  92. def toInt: Int

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions
  93. def toList: List[UInt]

    Permalink
    Definition Classes
    Natural
  94. def toLong: Long

    Permalink
    Definition Classes
    Natural → ScalaNumericAnyConversions
  95. def toRepr: String

    Permalink
    Definition Classes
    Natural
  96. def toShort: Short

    Permalink
    Definition Classes
    ScalaNumericAnyConversions
  97. def toString(): String

    Permalink
    Definition Classes
    Natural → AnyRef → Any
  98. def trim: Natural

    Permalink
    Definition Classes
    Natural
  99. def underlying(): AnyRef

    Permalink
    Definition Classes
    Natural → ScalaNumericConversions → ScalaNumericAnyConversions → ScalaNumber
  100. def unifiedPrimitiveEquals(x: Any): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  101. def unifiedPrimitiveHashcode(): Int

    Permalink
    Attributes
    protected
    Definition Classes
    ScalaNumericAnyConversions
  102. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. def |(rhs: UInt): Natural

    Permalink
    Definition Classes
    Natural
  106. def |(rhs: Natural): Natural

    Permalink
    Definition Classes
    Natural

Inherited from Product

Inherited from Equals

Inherited from Natural

Inherited from Serializable

Inherited from ScalaNumericConversions

Inherited from ScalaNumericAnyConversions

Inherited from ScalaNumber

Inherited from java.lang.Number

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped