trait QuasiTensor[K, V] extends AnyRef
We occasionally need a Tensor that doesn't extend NumericOps directly. This is that tensor.
- Alphabetic
- By Inheritance
- QuasiTensor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def activeIterator: Iterator[(K, V)]
- abstract def activeKeysIterator: Iterator[K]
- abstract def activeValuesIterator: Iterator[V]
- abstract def apply(i: K): V
- abstract def iterator: Iterator[(K, V)]
- abstract def keySet: Set[K]
- abstract def keysIterator: Iterator[K]
- abstract def update(i: K, v: V): Unit
- abstract def valuesIterator: Iterator[V]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findAll(f: (V) => Boolean): IndexedSeq[K]
Returns all indices k whose value satisfies a predicate.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- QuasiTensor → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def all(implicit semi: Semiring[V]): Boolean
Returns true if all elements are non-zero
Returns true if all elements are non-zero
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use breeze.linalg.all instead
- def any(implicit semi: Semiring[V]): Boolean
Returns true if some element is non-zero
Returns true if some element is non-zero
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use breeze.linalg.any instead
- def argmax(implicit ord: Ordering[V]): K
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use argmax(t) instead of t.argmax
- def argmin(implicit ord: Ordering[V]): K
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use argmin(t) instead of t.argmin
- def argsort(implicit ord: Ordering[V]): IndexedSeq[K]
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use argsort(t) instead of t.argsort
- def argtopk(k: Int)(implicit ordering: Ordering[V]): IndexedSeq[K]
Returns the k indices with maximum value.
Returns the k indices with maximum value. (NOT absolute value.)
- k
how many to return
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use argtopk(t, k) instead of t.argtopk(k)
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def max(implicit ord: Ordering[V]): V
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use max(t) instead of t.max
- def min(implicit ord: Ordering[V]): V
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use min(t) instead of t.min
- def sum(implicit num: Numeric[V]): V
- Annotations
- @deprecated
- Deprecated
(Since version 0.6) Use sum(t) instead of t.sum