object HilbertUtils
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HilbertUtils
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
HilbertMatrix(n: Int, x2: Int, dy: Int) extends Product with Serializable
This is not really a matrix, but a representation of one.
This is not really a matrix, but a representation of one. Due to the constraints of this system the necessary matrices can be defined by two values: dY and X2. DY is the amount of right shifting of the identity matrix, and X2 is a bitmask for which column values are negative. The toString method is overridden to construct and print the matrix to aid in debugging. Instead of constructing the matrix directly we store and manipulate these values.
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
-
def
addOne(key: Array[Byte]): Array[Byte]
treats
keyas an Integer and adds 1treats
keyas an Integer and adds 1- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
circularLeftShift(n: Int, i: Int, shift: Int): Int
- Annotations
- @inline()
-
def
circularRightShift(n: Int, i: Int, shift: Int): Int
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getSetColumn(n: Int, i: Int): Int
Returns the column number that is set.
Returns the column number that is set. We assume that a bit is set.
- Annotations
- @inline()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def manhattanDist(p1: Array[Int], p2: Array[Int]): Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object HilbertMatrix extends Serializable