Packages

final class DrxLong extends AnyVal

Source
numeric.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrxLong
  2. AnyVal
  3. Any
Implicitly
  1. by richDrxAny
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DrxLong(v: Long)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def #/(z: Long): Ratio
  4. def %/(w: Double): Double
  5. def %?(w: Long): Boolean
  6. def *(r: Ratio): Ratio
  7. def *(c: Complex): Complex
  8. def *(vec: Vec): Vec
  9. def *[A](other: BaseValue[A]): A
  10. def **(e: Int): Long
  11. def **(e: Double): Double
  12. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DrxLong toany2stringadd[DrxLong] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  13. def +-(w: Double): Bound[Double]
  14. def ->[B](y: B): (DrxLong, B)
    Implicit
    This member is added by an implicit conversion from DrxLong toArrowAssoc[DrxLong] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  15. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  16. def G: Long
  17. def Hz: Frequency
  18. def M: Long
  19. def applyIf(t: Boolean, f: (DrxLong) => DrxLong): DrxLong
    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  20. def applyIf(t: (DrxLong) => Boolean)(f: (DrxLong) => DrxLong): DrxLong

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  21. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  22. def base(charset: IndexedSeq[Char]): String
  23. def base(radix: Int, padZeroToWidth: Int = 1): String
  24. def base(radix: Int): String
  25. def bit(i: Int): Boolean

    returns true or false if a bit is set where i=0 is the LSB

  26. def bitFlip(i: Int): Long
  27. def bitNot(i: Int): Boolean
  28. def bitSet(i: Int, b: Boolean): Long
  29. def bshift(n: Int): Long
  30. def dB: Double
  31. def day: Time
  32. def deg: Angle
  33. def diff(w: Long): Long
  34. def divCeil(k: Long): Long
  35. def divFloor(k: Long): Long
  36. def divMod(k: Long): (Long, Long)
  37. def double: Long
  38. def elementOf(xs: Set[DrxLong]): Boolean
    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def ensuring(cond: (DrxLong) => Boolean, msg: => Any): DrxLong
    Implicit
    This member is added by an implicit conversion from DrxLong toEnsuring[DrxLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. def ensuring(cond: (DrxLong) => Boolean): DrxLong
    Implicit
    This member is added by an implicit conversion from DrxLong toEnsuring[DrxLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  41. def ensuring(cond: Boolean, msg: => Any): DrxLong
    Implicit
    This member is added by an implicit conversion from DrxLong toEnsuring[DrxLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  42. def ensuring(cond: Boolean): DrxLong
    Implicit
    This member is added by an implicit conversion from DrxLong toEnsuring[DrxLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  43. def even: Boolean
  44. def exp(base: Double): Double

    nice way to flip things around rather than using base.pow(vd); useful for chained equation descriptions

  45. def exp: Double
  46. def exp10: Double
  47. def exp2: Double
  48. def expE: Double
  49. def factorial: Long
  50. def foldLeft[T](acc: T)(f: (T) => T): T
  51. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DrxLong toStringFormat[DrxLong] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  52. def ft: Length
  53. def g0: Acceleration
  54. def gamma: Long
  55. def gcd(z: Long): Long

    greatest common divisor

  56. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  57. def half: Long
  58. def hr: Time
  59. def hz: Frequency
  60. def i: Complex

    imaginary number notation

  61. def inv: Double
  62. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  63. def iterate[T](acc: T)(f: (T) => T): T
  64. def k: Long
  65. def km: Length
  66. def lerp(b: Long)(amt: Double): Long
  67. def ln: Double
  68. def log: Double
  69. def log(b: Double): Double
  70. def log10: Double
  71. def log2: Double
  72. def logE: Double
  73. def m: Length
  74. def mean(w: Double): Double
  75. def minute: Time
  76. def modOption(w: Long): Option[Long]
  77. def month: Time
  78. def ms: Time
  79. def neg: Long
  80. def next: Long
  81. def noneIf(f: (DrxLong) => Boolean): Option[DrxLong]
    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  82. def ns: Time
  83. def odd: Boolean
  84. def optionIf(f: (DrxLong) => Boolean): Option[DrxLong]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  85. def outOf(z: Long): Ratio
  86. def over(z: Long): Ratio

    return a Ratio (Rational) type reduced

  87. def percent: Ratio

    ratio construction by percent

  88. def plusOrMinus(w: Double): Bound[Double]
  89. def pow(e: Double): Double
  90. def preApply[B](f: (DrxLong) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  91. def prev: Long
  92. def px: Weight
  93. def rad: Angle
  94. def s: Time
  95. def sat(max: Long): Long
  96. def sat(min: Long, max: Long): Long
  97. def sgn: Long
  98. def sideEffect(f: (DrxLong) => Unit): DrxLong

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  99. def sigma: Ratio
  100. def sigmoid: Double
  101. def someIf(f: (DrxLong) => Boolean): Option[DrxLong]
    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  102. def sq: Long
  103. def sqrt: Double
  104. def take(n: Int): Iterable[Double]
  105. val thisAny: DrxLong
    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  106. def times(f: => Unit): Unit
  107. def toBig: BigDecimal
  108. def toByteArray: Array[Byte]
  109. def toString(): String
    Definition Classes
    Any
  110. def todB: Double
  111. def twosComp(depth: Int): Long
  112. def uniformHash: Int
  113. val v: Long
  114. def x: Vec
  115. def xy: Vec
  116. def xyz: Vec
  117. def y: Vec
  118. def yr: Time
  119. def z: Vec
  120. def ||(w: Double): Double
  121. def ~(w: Double): Bound[Double]
  122. def ~>(w: Double): Bound[Double]

Deprecated Value Members

  1. def #^(e: Int): Long
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.13) just use **, don't duplicate operator symbols

  2. def #^(e: Double): Double

    consider alternative exponent function for drx exponents that matches eponential as higher precidence than / or *

    consider alternative exponent function for drx exponents that matches eponential as higher precidence than / or *

    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.13) just use **, don't duplicate operator symbols

  3. def /:[T](acc: T)(f: (T) => T): T
    Annotations
    @deprecated
    Deprecated

    (Since version dp) use foldLeft instead in scala-2.13

  4. def ?>(f: (DrxLong) => Boolean): Option[DrxLong]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  5. def bitset(i: Int, b: Boolean): Long
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use title case method name bitSet

  6. def frac(z: Long): Ratio
    Annotations
    @deprecated
    Deprecated

    (Since version di) this latex form is not infix anyways

  7. def |>[B](f: (DrxLong) => B): B
    Implicit
    This member is added by an implicit conversion from DrxLong toDrxAny[DrxLong] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  8. def [B](y: B): (DrxLong, B)
    Implicit
    This member is added by an implicit conversion from DrxLong toArrowAssoc[DrxLong] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion richDrxAny fromDrxLong to DrxAny[DrxLong]

Inherited by implicit conversion any2stringadd fromDrxLong to any2stringadd[DrxLong]

Inherited by implicit conversion StringFormat fromDrxLong to StringFormat[DrxLong]

Inherited by implicit conversion Ensuring fromDrxLong to Ensuring[DrxLong]

Inherited by implicit conversion ArrowAssoc fromDrxLong to ArrowAssoc[DrxLong]

Ungrouped