Packages

trait Counter2Ops extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Counter2Ops
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class CanZipMapValuesCounter2[K1, K2, V, RV] extends CanZipMapValues[Counter2[K1, K2, V], V, RV, Counter2[K1, K2, RV]]

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. implicit def addIntoVS[K1, K2, V](implicit arg0: Semiring[V]): OpAdd.InPlaceImpl2[Counter2[K1, K2, V], V]
  5. implicit def addIntoVV[K1, K2, V](implicit arg0: Semiring[V]): OpAdd.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]
  6. implicit def addVS[K1, K2, V](implicit arg0: Semiring[V], arg1: Zero[V]): OpAdd.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]
  7. implicit def addVV[K1, K2, V](implicit arg0: Semiring[V], arg1: Zero[V]): OpAdd.Impl2[Counter2[K1, K2, V], Counter2[K1, K2, V], Counter2[K1, K2, V]]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. implicit def canAxpy[K1, K2, V](implicit arg0: Semiring[V]): scaleAdd.InPlaceImpl3[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]
  10. implicit def canCopy[K1, K2, V](implicit arg0: Zero[V], arg1: Semiring[V]): CanCopy[Counter2[K1, K2, V]]
  11. implicit def canDivIntoVS[K1, K2, V](implicit arg0: Field[V]): OpDiv.InPlaceImpl2[Counter2[K1, K2, V], V]
  12. implicit def canDivIntoVV[K1, K2, V](implicit arg0: Field[V]): OpDiv.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]
  13. implicit def canDivVS[K1, K2, V](implicit copy: CanCopy[Counter2[K1, K2, V]], semiring: Field[V]): OpDiv.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]
  14. implicit def canDivVV[K1, K2, V](implicit copy: CanCopy[Counter2[K1, K2, V]], semiring: Field[V]): OpDiv.Impl2[Counter2[K1, K2, V], Counter2[K1, K2, V], Counter2[K1, K2, V]]
  15. implicit def canMulIntoVS[K1, K2, V](implicit arg0: Semiring[V]): OpMulScalar.InPlaceImpl2[Counter2[K1, K2, V], V]
  16. implicit def canMulIntoVS_M[K1, K2, V](implicit arg0: Semiring[V]): OpMulMatrix.InPlaceImpl2[Counter2[K1, K2, V], V]
  17. implicit def canMulIntoVV[K1, K2, V](implicit arg0: Semiring[V]): OpMulScalar.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]
  18. implicit def canMulVS[K1, K2, V](implicit semiring: Semiring[V]): OpMulScalar.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]
  19. implicit def canMulVS_M[K1, K2, V](implicit semiring: Semiring[V]): OpMulMatrix.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]
  20. implicit def canMulVV[K1, K2, V](implicit semiring: Semiring[V]): OpMulScalar.Impl2[Counter2[K1, K2, V], Counter2[K1, K2, V], Counter2[K1, K2, V]]
  21. implicit def canMultiplyC2C1[K1, K2, V](implicit semiring: Semiring[V]): OpMulMatrix.Impl2[Counter2[K1, K2, V], Counter[K2, V], Counter[K1, V]]

    Returns the k-norm of this Vector.

    Returns the k-norm of this Vector. implicit def canNorm[K1, K2, V:Ring]:CanNorm[Counter2[K1, K2, V]] = new CanNorm[Counter2[K1, K2, V]] { val field = implicitly[Ring[V]] def apply(c: Counter2[K1, K2, V], n: Double): Double = { import c._

    if (n == 1) { var sum = 0.0 activeValuesIterator foreach (v => sum += field.norm(v)) sum } else if (n == 2) { var sum = 0.0 activeValuesIterator foreach (v => { val nn = field.norm(v); sum += nn * nn }) math.sqrt(sum) } else if (n == Double.PositiveInfinity) { var max = Double.NegativeInfinity activeValuesIterator foreach (v => { val nn = field.norm(v); if (nn > max) max = nn }) max } else { var sum = 0.0 activeValuesIterator foreach (v => { val nn = field.norm(v); sum += math.pow(nn,n) }) math.pow(sum, 1.0 / n) } } }

  22. implicit def canMultiplyC2C2[K1, K2, K3, V](implicit semiring: Semiring[V]): OpMulMatrix.Impl2[Counter2[K1, K2, V], Counter2[K2, K3, V], Counter2[K1, K3, V]]
  23. implicit def canNegate[K1, K2, V](implicit ring: Ring[V]): OpNeg.Impl[Counter2[K1, K2, V], Counter2[K1, K2, V]]
  24. implicit def canSetIntoVS[K1, K2, V]: OpSet.InPlaceImpl2[Counter2[K1, K2, V], V]
  25. implicit def canSetIntoVV[K1, K2, V]: OpSet.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]
  26. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. implicit def subIntoVS[K1, K2, V](implicit arg0: Ring[V]): OpSub.InPlaceImpl2[Counter2[K1, K2, V], V]
  36. implicit def subIntoVV[K1, K2, V](implicit arg0: Ring[V]): OpSub.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]
  37. implicit def subVS[K1, K2, V](implicit arg0: Ring[V], arg1: Zero[V]): OpSub.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]
  38. implicit def subVV[K1, K2, V](implicit arg0: Ring[V], arg1: Zero[V]): OpSub.Impl2[Counter2[K1, K2, V], Counter2[K1, K2, V], Counter2[K1, K2, V]]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. implicit def zipMap[K1, K2, V, R](implicit arg0: Zero[R], arg1: Semiring[R]): CanZipMapValuesCounter2[K1, K2, V, R]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped