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 any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  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: AnyRef): Boolean

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

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

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

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. 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 any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. def apply(xr: Int, yr: Int): T

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

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

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

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clear(): Unit

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

    Attributes
    protected
  15. def clone(): AnyRef

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

    Definition Classes
    HashMatrixImmutable
  17. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. 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 any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def findBlock(xb: Int, yb: Int): Block[T]

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  32. val nil: T

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

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

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

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

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

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

    Definition Classes
    AnyRef
  39. def toString(): String

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. 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 any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (hashMatrix: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (hashMatrix: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: HashMatrix[T]

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to ArrowAssoc[HashMatrix[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (hashMatrix: ArrowAssoc[HashMatrix[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: HashMatrix[T]

    Implicit information
    This member is added by an implicit conversion from HashMatrix[T] to Ensuring[HashMatrix[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (hashMatrix: Ensuring[HashMatrix[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Matrix[T]

Inherited from Immutable[T]

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped