spire.math

Natural

sealed abstract class Natural extends ScalaNumber with ScalaNumericConversions with Serializable

Self Type
Natural
Annotations
@SerialVersionUID( 0L )
Linear Supertypes
Serializable, ScalaNumericConversions, ScalaNumericAnyConversions, ScalaNumber, java.lang.Number, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Natural
  2. Serializable
  3. ScalaNumericConversions
  4. ScalaNumericAnyConversions
  5. ScalaNumber
  6. Number
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Natural()

Abstract Value Members

  1. abstract def %(rd: UInt): Natural

  2. abstract def *(rd: UInt): Natural

  3. abstract def +(rd: UInt): Natural

  4. abstract def -(rd: UInt): Natural

  5. abstract def /(rd: UInt): Natural

  6. abstract def /%(rd: UInt): (Natural, Natural)

  7. abstract def digit: UInt

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def %(rhs: Natural): Natural

  5. def %(rhs: BigInt): BigInt

  6. def &(rhs: UInt): Natural

  7. def &(rhs: Natural): Natural

  8. def *(rhs: Natural): Natural

  9. def *(rhs: BigInt): BigInt

  10. def +(rhs: Natural): Natural

  11. def +(rhs: BigInt): BigInt

  12. def -(rhs: Natural): Natural

  13. def -(rhs: BigInt): BigInt

  14. def /(rhs: Natural): Natural

  15. def /(rhs: BigInt): BigInt

  16. def /%(rhs: Natural): (Natural, Natural)

  17. def /%(rhs: BigInt): (BigInt, BigInt)

  18. def /~(rhs: Natural): Natural

  19. def /~(rhs: BigInt): BigInt

  20. def /~(rd: UInt): Natural

  21. def <(r: BigInt): Boolean

  22. def <(r: UInt): Boolean

  23. def <(rhs: Natural): Boolean

  24. def <<(n: Int): Natural

  25. def <=(r: BigInt): Boolean

  26. def <=(r: UInt): Boolean

  27. def <=(rhs: Natural): Boolean

  28. def =!=(rhs: Natural): Boolean

  29. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  31. def ===(rhs: Natural): Boolean

  32. def >(r: BigInt): Boolean

  33. def >(r: UInt): Boolean

  34. def >(rhs: Natural): Boolean

  35. def >=(r: BigInt): Boolean

  36. def >=(r: UInt): Boolean

  37. def >=(rhs: Natural): Boolean

  38. def >>(n: Int): Natural

  39. def ^(rhs: UInt): Natural

  40. def ^(rhs: Natural): Natural

  41. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  42. def byteValue(): Byte

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

  44. def clone(): AnyRef

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

  46. def compare(rhs: UInt): Int

  47. def doubleValue(): Double

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

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

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

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

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

  53. def foldDigitsRight[A](a: A)(f: (A, UInt) ⇒ A): A

  54. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  55. def getDigitLength: Int

  56. def getNumBits: Int

  57. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  58. def intValue(): Int

    Definition Classes
    Natural → ScalaNumericAnyConversions → Number
  59. def isEven: Boolean

  60. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  61. def isOdd: Boolean

  62. def isOne: Boolean

  63. def isValidByte: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  64. def isValidChar: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  65. def isValidInt: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  66. def isValidShort: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  67. def isWhole(): Boolean

    Definition Classes
    Natural → ScalaNumericAnyConversions → ScalaNumber
  68. def isZero: Boolean

  69. def longValue(): Long

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

    Definition Classes
    AnyRef
  71. final def notify(): Unit

    Definition Classes
    AnyRef
  72. final def notifyAll(): Unit

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

  74. def pow(rhs: Natural): Natural

  75. def powerOfTwo: Int

  76. def reversed: Natural

  77. def shortValue(): Short

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

    Definition Classes
    AnyRef
  79. def toArray: Array[Int]

  80. def toBigInt: BigInt

  81. def toByte: Byte

    Definition Classes
    ScalaNumericAnyConversions
  82. def toChar: Char

    Definition Classes
    ScalaNumericAnyConversions
  83. def toDouble: Double

    Definition Classes
    ScalaNumericAnyConversions
  84. def toFloat: Float

    Definition Classes
    ScalaNumericAnyConversions
  85. def toInt: Int

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

  87. def toLong: Long

    Definition Classes
    Natural → ScalaNumericAnyConversions
  88. def toRepr: String

  89. def toShort: Short

    Definition Classes
    ScalaNumericAnyConversions
  90. def toString(): String

    Definition Classes
    Natural → AnyRef → Any
  91. def trim: Natural

  92. def underlying(): AnyRef

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

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

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

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

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

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

  99. def |(rhs: Natural): 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