Packages

t

org.opentorah.numbers

PeriodicNumbers

trait PeriodicNumbers extends Numbers

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

Type Members

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

    Definition Classes
    Numbers
  2. trait NumberCompanion[N <: Number[N]] extends AnyRef
    Definition Classes
    Numbers
  3. class PointCompanion extends NumberCompanion[Point]
    Definition Classes
    Numbers
  4. abstract class PointNumber extends Number[Point]

    Point from the number system.

    Point from the number system.

    Definition Classes
    Numbers
  5. class VectorCompanion extends NumberCompanion[Vector]
    Definition Classes
    Numbers
  6. abstract class VectorNumber extends Number[Vector]

    Vector from the number system.

    Vector from the number system.

    Definition Classes
    Numbers
  7. abstract type DigitType <: DigitsDescriptor
    Definition Classes
    Numbers
  8. abstract type Point <: PointNumber
    Definition Classes
    Numbers
  9. abstract type PointCompanionType <: PointCompanion
    Definition Classes
    Numbers
  10. abstract type Vector <: VectorNumber
    Definition Classes
    Numbers
  11. abstract type VectorCompanionType <: VectorCompanion
    Definition Classes
    Numbers

Abstract Value Members

  1. abstract def createDigit: DigitType
    Attributes
    protected
    Definition Classes
    Numbers
  2. abstract def createPointCompanion: PointCompanionType
    Attributes
    protected
    Definition Classes
    Numbers
  3. abstract def createVectorCompanion: VectorCompanionType
    Attributes
    protected
    Definition Classes
    Numbers
  4. abstract def headRange: 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

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

    position

    within the tail

    returns

    positive, even number

    Definition Classes
    Numbers

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
    Definition Classes
    Numbers
  5. final val Point: PointCompanionType
    Definition Classes
    Numbers
  6. final val Vector: VectorCompanionType
    Definition Classes
    Numbers
  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. final lazy val halfPeriod: Vector
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def headRangeOpt: Option[Int]
    Definition Classes
    PeriodicNumbersNumbers
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final lazy val period: Vector
  20. implicit val pointOrdering: Ordering[Point]
    Definition Classes
    Numbers
  21. implicit def pointOrderingOps(lhs: Point): OrderingOps
    Definition Classes
    Numbers
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. implicit val vectorOrdering: Ordering[Vector]
    Definition Classes
    Numbers
  25. implicit def vectorOrderingOps(lhs: Vector): OrderingOps
    Definition Classes
    Numbers
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. 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 Numbers

Inherited from AnyRef

Inherited from Any

Ungrouped