Packages

abstract class PointNumber extends Number[Point]

Point from the number system.

Self Type
Point
Linear Supertypes
Number[Point], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PointNumber
  2. Number
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PointNumber(digits: Digits)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def +(that: Vector): Point

    Returns Point resulting from adding specified Vector to this one.

  4. final def -(that: Vector): Point

    Returns Point resulting subtracting specified Vector to this one.

  5. final def -(that: Point): Vector

    Returns Vector representing difference between this and that numbers (which must be both Points or both Vectors).

    Returns Vector representing difference between this and that numbers (which must be both Points or both Vectors).

    Definition Classes
    Number
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def abs: Point

    Returns absolute value of this number.

    Returns absolute value of this number.

    Definition Classes
    Number
  8. final def add(that: Number[_]): Digits
    Attributes
    protected
    Definition Classes
    Number
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. final def companion: PointCompanionType

    Companion object that was used to create the number.

    Companion object that was used to create the number.

    Definition Classes
    PointNumberNumber
  12. final def compare(that: Point): Int

    How does this number compare with that?

    How does this number compare with that?

    Definition Classes
    Number
  13. final val digits: Digits
    Definition Classes
    Number
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def equals(other: Any): Boolean

    Are the two numbers equal?

    Are the two numbers equal?

    Definition Classes
    Number → AnyRef → Any
  16. final def get(position: Int): Int

    Returns digit at position.

    Returns digit at position.

    Definition Classes
    Number
  17. final def get(digit: Digit): Int

    Returns digit described by the Digit descriptor digit.

    Returns digit described by the Digit descriptor digit.

    Definition Classes
    Number
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def hashCode(): Int
    Definition Classes
    Number → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def isNegative: Boolean

    Is this number less than 0?

    Is this number less than 0?

    Definition Classes
    Number
  22. final def isPositive: Boolean

    Is this number greater than 0?

    Is this number greater than 0?

    Definition Classes
    Number
  23. final def isZero: Boolean

    Is this number equal to 0?

    Is this number equal to 0?

    Definition Classes
    Number
  24. final def length: Int

    Returns number of digits after the point.

    Returns number of digits after the point.

    Definition Classes
    Number
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def roundTo(length: Int): Point

    Returns this number rounded to the position.

    Returns this number rounded to the position.

    Definition Classes
    Number
  29. final def roundTo(digit: Digit): Point

    Returns this number rounded to the digit described by the Digit descriptor digit.

    Returns this number rounded to the digit described by the Digit descriptor digit.

    Definition Classes
    Number
  30. final def set(position: Int, value: Int): Point

    Returns this number with digit at position set to value.

    Returns this number with digit at position set to value.

    Definition Classes
    Number
  31. final def set(digit: Digit, value: Int): Point

    Returns this number with digit described by the Digit descriptor digit set to value.

    Returns this number with digit described by the Digit descriptor digit set to value.

    Definition Classes
    Number
  32. final def signum: Int

    Returns the signum of this number: -1 if it is negative, 1 if it is positive and 0 if it is neither.

    Returns the signum of this number: -1 if it is negative, 1 if it is positive and 0 if it is neither.

    Definition Classes
    Number
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. final def toDouble: Double

    Converts this number to Double.

    Converts this number to Double.

    Definition Classes
    Number
  35. final def toRational: BigRational

    Converts this number to org.opentorah.numbers.BigRational.

    Converts this number to org.opentorah.numbers.BigRational.

    Definition Classes
    Number
  36. def toString(): String

    Returns string representation of this number.

    Returns string representation of this number.

    Definition Classes
    Number → AnyRef → Any
  37. final def toString(length: Int): String

    Returns string representation of this number with length positions (padding/truncating as needed).

    Returns string representation of this number with length positions (padding/truncating as needed).

    Definition Classes
    Number
  38. final def unary_-: Point

    Returns this number with the sign inverted.

    Returns this number with the sign inverted.

    Definition Classes
    Number
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. 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 Number[Point]

Inherited from AnyRef

Inherited from Any

Ungrouped