QuasiTensor

trait QuasiTensor[@specialized(Int) K, @specialized(Double, Int, Float, Long) V] extends HasOps

We occasionally need a Tensor that doesn't extend NumericOps directly. This is that tensor.

trait HasOps
class Object
trait Matchable
class Any
trait TensorLike[K, V, This]
trait Counter2Like[K1, K2, V, T, This]
trait Counter2[K1, K2, V]
class Impl[K1, K2, V]
trait CounterLike[K, V, M, This]
trait Counter[K, V]
class Impl[K, V]
trait MatrixLike[V, Self]
class CSCMatrix[V]
class DenseMatrix[V]
trait Matrix[V]
class SliceMatrix[K1, K2, V]
trait Tensor[K, V]
trait VectorLike[V, Self]
class BitVector
class DenseVector[V]
class HashVector[E]
class SliceVector[K, V]
class SparseVector[V]
trait Vector[V]
trait StorageVector[V]

Value members

Abstract methods

def activeIterator: Iterator[(K, V)]
def activeKeysIterator: Iterator[K]
def activeValuesIterator: Iterator[V]
def apply(i: K): V
def iterator: Iterator[(K, V)]
def keySet: Set[K]
def keysIterator: Iterator[K]
def update(i: K, v: V): Unit
def valuesIterator: Iterator[V]

Concrete methods

def findAll(f: V => Boolean): IndexedSeq[K]

Returns all indices k whose value satisfies a predicate.

Returns all indices k whose value satisfies a predicate.

override def hashCode(): Int
Definition Classes
Any