Packages

trait Numbers extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Numbers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type DigitType <: DigitsDescriptor
  2. abstract class Number[N <: Number[N]] extends AnyRef

    Number (Point or Vector) from the number system.

    Number (Point or Vector) from the number system. Number is a sequence of fractions where numerator is the digit and denominator for each position is determined by the number system (the point comes after the first digit, which denominator is 1). Numbers from the same number system and with the same companion can be compared for equality and order.

    N

    type of the number: Point or Vector

  3. trait NumberCompanion[N <: Number[N]] extends AnyRef
  4. abstract type Point <: PointNumber
  5. class PointCompanion extends NumberCompanion[Point]
  6. abstract type PointCompanionType <: PointCompanion
  7. abstract class PointNumber extends Number[Point]

    Point from the number system.

  8. abstract type Vector <: VectorNumber
  9. class VectorCompanion extends NumberCompanion[Vector]
  10. abstract type VectorCompanionType <: VectorCompanion
  11. abstract class VectorNumber extends Number[Vector]

    Vector from the number system.

Abstract Value Members

  1. abstract def createDigit: DigitType
    Attributes
    protected
  2. abstract def createPointCompanion: PointCompanionType
    Attributes
    protected
  3. abstract def createVectorCompanion: VectorCompanionType
    Attributes
    protected
  4. abstract def headRangeOpt: Option[Int]
  5. abstract def maxLength: Int

    Maximum number of digits after the dot.

    Maximum number of digits after the dot.

    returns

    maximum number of digits after the dot

  6. abstract def newPoint(digits: Seq[Int]): Point
    Attributes
    protected
  7. abstract def newVector(digits: Seq[Int]): Vector
    Attributes
    protected
  8. abstract def range(position: Int): Int

    position

    within the tail

    returns

    positive, even number

Concrete 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. final val Digit: DigitType
  5. final val Point: PointCompanionType
  6. final val Vector: VectorCompanionType
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. implicit val pointOrdering: Ordering[Point]
  18. implicit def pointOrderingOps(lhs: Point): OrderingOps
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. implicit val vectorOrdering: Ordering[Vector]
  22. implicit def vectorOrderingOps(lhs: Vector): OrderingOps
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped