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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  30. def >(r: BigInt): Boolean

  31. def >(r: UInt): Boolean

  32. def >(rhs: Natural): Boolean

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

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

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

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

  37. def ^(rhs: UInt): Natural

  38. def ^(rhs: Natural): Natural

  39. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  40. def byteValue(): Byte

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

  42. def clone(): AnyRef

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

  44. def compare(rhs: UInt): Int

  45. def doubleValue(): Double

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  53. def getDigitLength: Int

  54. def getNumBits: Int

  55. def hashCode(): Int

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

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

  58. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  59. def isOdd: Boolean

  60. def isOne: Boolean

  61. def isValidByte: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  62. def isValidChar: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  63. def isValidInt: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  64. def isValidShort: Boolean

    Definition Classes
    ScalaNumericAnyConversions
  65. def isWhole(): Boolean

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

  67. def longValue(): Long

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

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

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

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

  72. def pow(rhs: Natural): Natural

  73. def powerOfTwo: Int

  74. def reversed: Natural

  75. def shortValue(): Short

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

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

  78. def toBigInt: BigInt

  79. def toByte: Byte

    Definition Classes
    ScalaNumericAnyConversions
  80. def toChar: Char

    Definition Classes
    ScalaNumericAnyConversions
  81. def toDouble: Double

    Definition Classes
    ScalaNumericAnyConversions
  82. def toFloat: Float

    Definition Classes
    ScalaNumericAnyConversions
  83. def toInt: Int

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

  85. def toLong: Long

    Definition Classes
    Natural → ScalaNumericAnyConversions
  86. def toRepr: String

  87. def toShort: Short

    Definition Classes
    ScalaNumericAnyConversions
  88. def toString(): String

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

  90. def underlying(): AnyRef

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

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

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

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

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

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

  97. 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