Packages

object Scaling extends Scaling

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

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 def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def computeScaleDelta(scores: Array[Double]): Int

    Computes the log power of two we'd need to scale by so that the max double is between (2 ** scaleConstant, 2 ** -scaleConstant).

    Computes the log power of two we'd need to scale by so that the max double is between (2 ** scaleConstant, 2 ** -scaleConstant).

    Definition Classes
    Scaling
  7. def determineScale(score: Double, oldScale: Int): Int
    Definition Classes
    Scaling
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def scaleArray(scores: Array[Double], currentScale: Int): Int

    Ensures that the max double is between (2**scaleConstant,2**-scaleConstant), scaling the array as necessary.

    Ensures that the max double is between (2**scaleConstant,2**-scaleConstant), scaling the array as necessary.

    returns

    newScale

    Definition Classes
    Scaling
  17. def scaleArrayToScale(scores: Array[Double], currentScale: Int, targetScale: Int): Unit
    Definition Classes
    Scaling
  18. val scaleConstant: Int

    the largest (log) power of two we want to deal with

    the largest (log) power of two we want to deal with

    Definition Classes
    ScalingScaling
  19. def scaleValue(score: Double, currentScale: Int, targetScale: Int): Double

    Converts the scaled value into "normal" space

    Converts the scaled value into "normal" space

    Definition Classes
    Scaling
  20. def sumArrays(src: Array[Double], srcScale: Int, dest: Array[Double], destScale: Int): Int

    Sums src into dest assuming they're at different scales.

    Sums src into dest assuming they're at different scales. src may be longer than dest, which is useful for allocating a large work buffer.

    returns

    the new scale

    Definition Classes
    Scaling
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toLogSpace(score: Double, currentScale: Int): Double
    Definition Classes
    Scaling
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. def unscaleValue(score: Double, currentScale: Int): Double

    Converts the scaled value into "normal" space

    Converts the scaled value into "normal" space

    Definition Classes
    Scaling
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. 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 Scaling

Inherited from AnyRef

Inherited from Any

Ungrouped