cc.factorie.util

SubArrayDoubleSeq

final class SubArrayDoubleSeq extends DenseDoubleSeq

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

Instance Constructors

  1. new SubArrayDoubleSeq(array: Array[Double], start: Int, length: Int)

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 =+(a: Array[Double], offset: Int, f: Double): Unit

    Increment given array (starting at offset index) with contents of this DoubleSeq, multiplied by factor f.

    Increment given array (starting at offset index) with contents of this DoubleSeq, multiplied by factor f.

    Definition Classes
    DenseDoubleSeqDoubleSeq
  5. final def =+(a: Array[Double], f: Double): Unit

    Definition Classes
    DoubleSeq
  6. final def =+(a: Array[Double], offset: Int): Unit

    Definition Classes
    DoubleSeq
  7. final def =+(a: Array[Double]): Unit

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

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

    Definition Classes
    Any
  10. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Append a string representation of this DoubleSeq to the StringBuilder.

    Append a string representation of this DoubleSeq to the StringBuilder.

    Definition Classes
    DoubleSeq
  11. def apply(i: Int): Double

    Definition Classes
    SubArrayDoubleSeqDoubleSeq
  12. val array: Array[Double]

  13. def asArray: Array[Double]

    Return the values as an Array[Double].

    Return the values as an Array[Double]. Not guaranteed to be a copy; in fact if it is possible to return a pointer to an internal array, it will simply return this.

    Definition Classes
    DoubleSeq
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def asSeq: Seq[Double]

    With uncopied contents

    With uncopied contents

    Definition Classes
    DoubleSeq
  16. def clone(): AnyRef

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

    Definition Classes
    DenseDoubleSeqDoubleSeq
  18. def containsNaN: Boolean

    Definition Classes
    DenseDoubleSeqDoubleSeq
  19. def different(t: DoubleSeq, threshold: Double): Boolean

    Definition Classes
    DoubleSeq
  20. def entropy: Double

    Assumes that the values are already normalized to sum to 1.

    Assumes that the values are already normalized to sum to 1.

    Definition Classes
    DoubleSeq
  21. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def foldLeft[B](z: B)(f: (B, Double) ⇒ B): B

    Definition Classes
    DoubleSeq
  25. def forall(f: (Double) ⇒ Boolean): Boolean

    Definition Classes
    DoubleSeq
  26. def forallElements(f: (Int, Double) ⇒ Boolean): Boolean

    Definition Classes
    DoubleSeq
  27. def foreach(f: (Double) ⇒ Unit): Unit

    Definition Classes
    DoubleSeq
  28. def foreachActiveElement(f: (Int, Double) ⇒ Unit): Unit

    Definition Classes
    DenseDoubleSeqDoubleSeq
  29. def foreachElement(f: (Int, Double) ⇒ Unit): Unit

    Definition Classes
    DoubleSeq
  30. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  32. def indexOf(d: Double): Int

    Definition Classes
    DenseDoubleSeqDoubleSeq
  33. def infinityNorm: Double

    Definition Classes
    DenseDoubleSeqDoubleSeq
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def jsDivergence(p: DoubleSeq): Double

    Assumes that the values are already normalized to sum to 1.

    Assumes that the values are already normalized to sum to 1.

    Definition Classes
    DoubleSeq
  36. def klDivergence(p: DoubleSeq): Double

    Assumes that the values in both DoubleSeq are already normalized to sum to 1.

    Assumes that the values in both DoubleSeq are already normalized to sum to 1.

    Definition Classes
    DoubleSeq
  37. def l2Similarity(t: DoubleSeq): Double

    Definition Classes
    DoubleSeq
  38. val length: Int

    Definition Classes
    SubArrayDoubleSeqDoubleSeq
  39. def map(f: (Double) ⇒ Double): DoubleSeq

    Definition Classes
    DoubleSeq
  40. def max: Double

    Definition Classes
    DenseDoubleSeqDoubleSeq
  41. def maxIndex: Int

    Definition Classes
    DenseDoubleSeqDoubleSeq
  42. def maxIndex2: (Int, Int)

    Definition Classes
    DenseDoubleSeqDoubleSeq
  43. def min: Double

    Definition Classes
    DenseDoubleSeqDoubleSeq
  44. def mkString: String

    Definition Classes
    DoubleSeq
  45. def mkString(sep: String): String

    Definition Classes
    DoubleSeq
  46. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    DoubleSeq
  47. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  48. final def notify(): Unit

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

    Definition Classes
    AnyRef
  50. def oneNorm: Double

    Definition Classes
    DenseDoubleSeqDoubleSeq
  51. def sampleIndex(normalizer: Double)(implicit r: Random): Int

    Definition Classes
    DenseDoubleSeqDoubleSeq
  52. def sampleIndex(implicit r: Random): Int

    Careful, for many subclasses this is inefficient because it calls the method "sum" to get the normalizer.

    Careful, for many subclasses this is inefficient because it calls the method "sum" to get the normalizer.

    Definition Classes
    DoubleSeq
  53. final def size: Int

    Definition Classes
    DoubleSeq
  54. val start: Int

  55. def sum: Double

    Definition Classes
    DenseDoubleSeqDoubleSeq
  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toArray: Array[Double]

    Return the values as an Array[Double].

    Return the values as an Array[Double]. Guaranteed to be a copy, not just a pointer to an internal array that would change with changes to the DoubleSeq

    Definition Classes
    SubArrayDoubleSeqDenseDoubleSeqDoubleSeq
  58. def toSeq: Seq[Double]

    With copied contents

    With copied contents

    Definition Classes
    DoubleSeq
  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. def top(n: Int): TopN[String]

    Return records for the n elements with the largest values.

    Return records for the n elements with the largest values.

    Definition Classes
    DoubleSeq
  61. final def twoNorm: Double

    Definition Classes
    DoubleSeq
  62. def twoNormSquared: Double

    Definition Classes
    DenseDoubleSeqDoubleSeq
  63. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DenseDoubleSeq

Inherited from DoubleSeq

Inherited from AnyRef

Inherited from Any

Ungrouped