cc.factorie.maths

ArrayOps

trait ArrayOps extends AnyRef

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

Type Members

  1. type A = Array[Double]

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

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

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

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

  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

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

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

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

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

  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.

  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

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

  25. def infinityNorm(s: A): Double

  26. final def isInstanceOf[T0]: Boolean

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

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

  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.

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

    expNormalize, then put back into log-space.

  32. final def notify(): Unit

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

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

  35. def oneNormalize(s: A): Double

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

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

  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

  41. def twoNormSquared(s: A): Double

  42. def twoNormalize(s: A): Double

  43. def twoSquaredNormalize(s: A): Double

  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 AnyRef

Inherited from Any

Ungrouped