cc.factorie.maths

ArrayOps

object ArrayOps extends ArrayOps

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArrayOps
  2. ArrayOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type A = Array[Double]

    Definition Classes
    ArrayOps

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *=(s: A, d: Double): Unit

    Definition Classes
    ArrayOps
  5. def +=(s: A, d: Double): Unit

    Definition Classes
    ArrayOps
  6. def -=(s: A, d: Double): Unit

    Definition Classes
    ArrayOps
  7. def /=(s: A, d: Double): Unit

    Definition Classes
    ArrayOps
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def contains(s: A, d: Double): Boolean

    Definition Classes
    ArrayOps
  13. def copy(s: A): Array[Double]

    Definition Classes
    ArrayOps
  14. def different(s: A, t: A, threshold: Double): Boolean

    Definition Classes
    ArrayOps
  15. def dot(s: A, t: A): Double

    Definition Classes
    ArrayOps
  16. def elementwiseSum(as: Array[Array[Double]]): Array[Double]

    Definition Classes
    ArrayOps
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def expNormalize(a: Array[Double]): Double

    Exponentiate the elements of the array, and then normalize them to sum to one.

    Exponentiate the elements of the array, and then normalize them to sum to one.

    Definition Classes
    ArrayOps
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def incr(s: A, t: A, factor: Double): Unit

    Definition Classes
    ArrayOps
  24. def incr(s: A, t: A): Unit

    Definition Classes
    ArrayOps
  25. def infinityNorm(s: A): Double

    Definition Classes
    ArrayOps
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isNaN(s: A): Boolean

    Definition Classes
    ArrayOps
  28. def maxIndex(a: Array[Double]): Int

    Definition Classes
    ArrayOps
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. def normalize(s: A): Double

    Divide each element of the array by the sum of the elements.

    Divide each element of the array by the sum of the elements.

    Definition Classes
    ArrayOps
  31. def normalizeLogProb(a: Array[Double]): Double

    expNormalize, then put back into log-space.

    expNormalize, then put back into log-space.

    Definition Classes
    ArrayOps
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def oneNorm(s: A): Double

    Definition Classes
    ArrayOps
  35. def oneNormalize(s: A): Double

    Definition Classes
    ArrayOps
  36. def set(s: A, t: A): Unit

    Definition Classes
    ArrayOps
  37. def substitute(s: A, oldValue: Double, newValue: Double): Unit

    Definition Classes
    ArrayOps
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

    Definition Classes
    AnyRef → Any
  40. def twoNorm(s: A): Double

    Definition Classes
    ArrayOps
  41. def twoNormSquared(s: A): Double

    Definition Classes
    ArrayOps
  42. def twoNormalize(s: A): Double

    Definition Classes
    ArrayOps
  43. def twoSquaredNormalize(s: A): Double

    Definition Classes
    ArrayOps
  44. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ArrayOps

Inherited from AnyRef

Inherited from Any

Ungrouped