cc.factorie.util

SparseDoubleSeq

trait SparseDoubleSeq extends DoubleSeq

Linear Supertypes
Known Subclasses
ArraySparseBinaryTensor, ArraySparseIndexedTensor, BooleanValue, CategoricalValue, CategoricalValue, Dense2LayeredTensor3, Dense2LayeredTensorLike3, Dense3LayeredTensor4, Dense3LayeredTensorLike4, DenseLayeredTensor2, DenseLayeredTensorLike2, DiscreteValue, DiscreteValue, FalseValue, GrowableSingletonBinaryTensor1, GrowableSparseBinaryTensor1, GrowableSparseIndexedTensor1, GrowableSparseTensor1, ImplicitFeatureConjunctionTensor, MutableSingletonBinaryTensor3, MutableSingletonBinaryTensor4, Outer1Tensor2, Outer1Tensor3, Outer2Tensor, Outer2Tensor3, RealValue, Singleton2BinaryLayeredTensor3, Singleton2BinaryLayeredTensorLike3, Singleton2LayeredTensor3, Singleton2LayeredTensorLike3, Singleton3LayeredTensor4, Singleton3LayeredTensorLike4, SingletonBinaryLayeredTensor2, SingletonBinaryLayeredTensorLike2, SingletonBinaryTensor, SingletonBinaryTensor1, SingletonBinaryTensor2, SingletonBinaryTensor3, SingletonBinaryTensor4, SingletonBinaryTensorLike1, SingletonBinaryTensorLike2, SingletonIndexedTensor, SingletonLayeredTensor2, SingletonLayeredTensorLike2, SingletonMasses1, SingletonMasses2, SingletonProportions1, SingletonProportions2, SingletonTensor, SingletonTensor1, SingletonTensor2, SingletonTensor3, SingletonTensor4, SortedSparseCountsMasses1, SortedSparseCountsProportions1, SparseBinaryTensor, SparseBinaryTensor1, SparseBinaryTensor2, SparseBinaryTensor3, SparseBinaryTensor4, SparseBinaryTensorLike1, SparseBinaryTensorLike2, SparseBinaryTensorLike3, SparseBinaryTensorLike4, SparseHashTensor1, SparseIndexedTensor, SparseIndexedTensor1, SparseIndexedTensor2, SparseIndexedTensor3, SparseIndexedTensor4, SparseTensor, SparseTensor1, SparseTensorProportions, SparseTensorProportions1, SparseTensorProportions2, SparseTensorProportions3, SparseTensorProportions4, TensorTimesScalar, TrueValue
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SparseDoubleSeq
  2. DoubleSeq
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def activeDomain: IntSeq

  2. abstract def activeDomainSize: Int

  3. abstract def apply(i: Int): Double

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

    Definition Classes
    DoubleSeq
  5. abstract def length: Int

    Definition Classes
    DoubleSeq

Concrete 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
    SparseDoubleSeqDoubleSeq
  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 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
  12. final def asInstanceOf[T0]: T0

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

    With uncopied contents

    With uncopied contents

    Definition Classes
    DoubleSeq
  14. def clone(): AnyRef

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

    Definition Classes
    SparseDoubleSeqDoubleSeq
  16. def containsNaN: Boolean

    Definition Classes
    SparseDoubleSeqDoubleSeq
  17. def different(t: DoubleSeq, threshold: Double): Boolean

    Definition Classes
    SparseDoubleSeqDoubleSeq
  18. 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
    SparseDoubleSeqDoubleSeq
  19. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    DoubleSeq
  24. def forallActiveElements(f: (Int, Double) ⇒ Boolean): Boolean

  25. def forallElements(f: (Int, Double) ⇒ Boolean): Boolean

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

    Definition Classes
    DoubleSeq
  27. def foreachElement(f: (Int, Double) ⇒ Unit): Unit

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

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

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

    Definition Classes
    SparseDoubleSeqDoubleSeq
  31. def infinityNorm: Double

    Definition Classes
    SparseDoubleSeqDoubleSeq
  32. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  33. 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
    SparseDoubleSeqDoubleSeq
  34. 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
    SparseDoubleSeqDoubleSeq
  35. def l2Similarity(t: DoubleSeq): Double

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

    Definition Classes
    DoubleSeq
  37. def max: Double

    Definition Classes
    SparseDoubleSeqDoubleSeq
  38. def maxIndex: Int

    Definition Classes
    SparseDoubleSeqDoubleSeq
  39. def maxIndex2: (Int, Int)

    Definition Classes
    SparseDoubleSeqDoubleSeq
  40. def min: Double

    Definition Classes
    SparseDoubleSeqDoubleSeq
  41. def mkString: String

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

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

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

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

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

    Definition Classes
    AnyRef
  47. def oneNorm: Double

    Definition Classes
    SparseDoubleSeqDoubleSeq
  48. def sampleIndex(normalizer: Double)(implicit r: Random): Int

    Definition Classes
    SparseDoubleSeqDoubleSeq
  49. 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
  50. final def size: Int

    Definition Classes
    DoubleSeq
  51. def sum: Double

    Definition Classes
    SparseDoubleSeqDoubleSeq
  52. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  53. 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
    SparseDoubleSeqDoubleSeq
  54. def toSeq: Seq[Double]

    With copied contents

    With copied contents

    Definition Classes
    DoubleSeq
  55. def toString(): String

    Definition Classes
    AnyRef → Any
  56. 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
  57. final def twoNorm: Double

    Definition Classes
    DoubleSeq
  58. def twoNormSquared: Double

    Definition Classes
    SparseDoubleSeqDoubleSeq
  59. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DoubleSeq

Inherited from AnyRef

Inherited from Any

Ungrouped