breeze.linalg.operators

Counter2Ops

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
Learn more about member selection
Visibility
  1. Public
  2. All

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: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Any
  6. implicit def addIntoVS[K1, K2, V](implicit arg0: Semiring[V]): OpAdd.InPlaceImpl2[Counter2[K1, K2, V], V]

  7. implicit def addIntoVV[K1, K2, V](implicit arg0: Semiring[V]): OpAdd.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]

  8. implicit def addVS[K1, K2, V](implicit arg0: Semiring[V], arg1: Zero[V]): OpAdd.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]

  9. 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]]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. implicit def canAxpy[K1, K2, V](implicit arg0: Semiring[V]): scaleAdd.InPlaceImpl3[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]

  12. implicit def canCopy[K1, K2, V](implicit arg0: Zero[V], arg1: Semiring[V]): CanCopy[Counter2[K1, K2, V]]

  13. implicit def canDivIntoVS[K1, K2, V](implicit arg0: Field[V]): OpDiv.InPlaceImpl2[Counter2[K1, K2, V], V]

  14. implicit def canDivIntoVV[K1, K2, V](implicit arg0: Field[V]): OpDiv.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]

  15. 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]]

  16. 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]]

  17. implicit def canMulIntoVS[K1, K2, V](implicit arg0: Semiring[V]): OpMulScalar.InPlaceImpl2[Counter2[K1, K2, V], V]

  18. implicit def canMulIntoVS_M[K1, K2, V](implicit arg0: Semiring[V]): OpMulMatrix.InPlaceImpl2[Counter2[K1, K2, V], V]

  19. implicit def canMulIntoVV[K1, K2, V](implicit arg0: Semiring[V]): OpMulScalar.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]

  20. implicit def canMulVS[K1, K2, V](implicit semiring: Semiring[V]): OpMulScalar.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]

  21. implicit def canMulVS_M[K1, K2, V](implicit semiring: Semiring[V]): OpMulMatrix.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]

  22. implicit def canMulVV[K1, K2, V](implicit semiring: Semiring[V]): OpMulScalar.Impl2[Counter2[K1, K2, V], Counter2[K1, K2, V], Counter2[K1, K2, V]]

  23. 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) } } }

  24. 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]]

  25. implicit def canNegate[K1, K2, V](implicit ring: Ring[V]): OpNeg.Impl[Counter2[K1, K2, V], Counter2[K1, K2, V]]

  26. implicit def canSetIntoVS[K1, K2, V]: OpSet.InPlaceImpl2[Counter2[K1, K2, V], V]

  27. implicit def canSetIntoVV[K1, K2, V]: OpSet.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]

  28. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  38. implicit def subIntoVS[K1, K2, V](implicit arg0: Ring[V]): OpSub.InPlaceImpl2[Counter2[K1, K2, V], V]

  39. implicit def subIntoVV[K1, K2, V](implicit arg0: Ring[V]): OpSub.InPlaceImpl2[Counter2[K1, K2, V], Counter2[K1, K2, V]]

  40. implicit def subVS[K1, K2, V](implicit arg0: Ring[V], arg1: Zero[V]): OpSub.Impl2[Counter2[K1, K2, V], V, Counter2[K1, K2, V]]

  41. 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]]

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  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( ... )
  47. implicit def zipMap[K1, K2, V, R](implicit arg0: Zero[R], arg1: Semiring[R]): CanZipMapValuesCounter2[K1, K2, V, R]

Inherited from AnyRef

Inherited from Any

Ungrouped