io.reactors.common

HashMatrix

class HashMatrix[T] extends Matrix[T]

Hash-based sparse matrix with an efficient O(1) indexing and update operations.

Ideal for sparse or dense data, particularly with many clusters that are tightly packed together. For spatial queries on sparse data, it is usually better to use QuadMatrix.

Linear Supertypes
Matrix[T], Immutable[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HashMatrix
  2. Matrix
  3. Immutable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HashMatrix(initialSize: Int = 32, poolSize: Int = 4)(implicit arrayable: Arrayable[T])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to any2stringadd[HashMatrix[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (HashMatrix[T], B)

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to ArrowAssoc[HashMatrix[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  6. def apply(xr: Int, yr: Int): T

    Definition Classes
    HashMatrixImmutable
  7. def applyAndUpdate(xr: Int, yr: Int, v: T): T

    Definition Classes
    HashMatrixMatrix
  8. def area(gxf: Int, gyf: Int, gxu: Int, gyu: Int): Area[T]

    Definition Classes
    HashMatrixImmutable
  9. implicit val arrayable: Arrayable[T]

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clear(): Unit

  12. def clearSpecialized(self: HashMatrix[T]): Unit

    Attributes
    protected
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def copy(a: Array[T], gxf: Int, gyf: Int, gxu: Int, gyu: Int): Unit

    Definition Classes
    HashMatrixImmutable
  15. def ensuring(cond: (HashMatrix[T]) ⇒ Boolean, msg: ⇒ Any): HashMatrix[T]

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to Ensuring[HashMatrix[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (HashMatrix[T]) ⇒ Boolean): HashMatrix[T]

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to Ensuring[HashMatrix[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): HashMatrix[T]

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to Ensuring[HashMatrix[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): HashMatrix[T]

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to Ensuring[HashMatrix[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  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 findBlock(xb: Int, yb: Int): Block[T]

    Attributes
    protected
  23. def foreach(f: (XY) ⇒ Unit): Unit

    Definition Classes
    HashMatrixImmutable
  24. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to StringFormat[HashMatrix[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  25. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  27. def increaseSize(): Unit

    Attributes
    protected
  28. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  30. val nil: T

  31. def nonNilArea(gxf: Int, gyf: Int, gxu: Int, gyu: Int): Area[T]

    Definition Classes
    HashMatrixImmutable
  32. final def notify(): Unit

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

    Definition Classes
    AnyRef
  34. def orElse(xr: Int, yr: Int, v: T): T

  35. def remove(x: Int, y: Int): T

    Definition Classes
    HashMatrixMatrix
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def update(x: Int, y: Int, v: T): Unit

    Definition Classes
    HashMatrixMatrix
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def [B](y: B): (HashMatrix[T], B)

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to ArrowAssoc[HashMatrix[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Matrix[T]

Inherited from Immutable[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from HashMatrix[T] to any2stringadd[HashMatrix[T]]

Inherited by implicit conversion StringFormat from HashMatrix[T] to StringFormat[HashMatrix[T]]

Inherited by implicit conversion Ensuring from HashMatrix[T] to Ensuring[HashMatrix[T]]

Inherited by implicit conversion ArrowAssoc from HashMatrix[T] to ArrowAssoc[HashMatrix[T]]

Ungrouped