class Matrix2D extends MatrixD

The Matrix2D class stores and operates on Numeric Matrices of base type Double and having 2 coordinates (x, y).

Linear Supertypes
MatrixD, Serializable, MatriD, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Matrix2D
  2. MatrixD
  3. Serializable
  4. MatriD
  5. Error
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Matrix2D(d1: Int, v2: Array[Array[Double]] = null)

    d1

    the first/row dimension (second dimension fixed at 2)

    v2

    the 1D array used to store vector elements

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  4. def *(u: VectoD): VectorD
    Definition Classes
    MatrixD → MatriD
  5. def *(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  6. def *(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  7. def **(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  8. def **(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  9. def **:(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  10. def **=(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  11. def *:(u: VectoD): VectoD
    Definition Classes
    MatriD
  12. def *=(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  13. def *=(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  14. def *=(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  15. def +(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  16. def +(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  17. def +(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  18. def +(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  19. def ++(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  20. def ++^(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  21. def +:(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  22. def +=(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  23. def +=(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  24. def +=(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  25. def +=(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  26. def +^:(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  27. def -(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  28. def -(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  29. def -(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  30. def -(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  31. def -=(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  32. def -=(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  33. def -=(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  34. def -=(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  35. def /(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  36. def /=(x: Double): MatrixD
    Definition Classes
    MatrixD → MatriD
  37. def :+(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  38. def :^+(u: VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  39. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  40. def apply(iv: VectoI): MatrixD
    Definition Classes
    MatrixD → MatriD
  41. def apply(): Array[Array[Double]]
    Definition Classes
    MatrixD
  42. def apply(ir: Range, jr: Range): MatrixD
    Definition Classes
    MatrixD → MatriD
  43. def apply(i: Int): VectorD
    Definition Classes
    MatrixD → MatriD
  44. def apply(i: Int, j: Int): Double
    Definition Classes
    MatrixD → MatriD
  45. def apply(i: Int, jr: Range): VectoD
    Definition Classes
    MatriD
  46. def apply(ir: Range, j: Int): VectoD
    Definition Classes
    MatriD
  47. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  48. def bsolve(y: VectoD): VectorD
    Definition Classes
    MatrixD → MatriD
  49. def clean(thres: Double, relative: Boolean): MatrixD
    Definition Classes
    MatrixD → MatriD
  50. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  51. def col(col: Int, from: Int): VectorD
    Definition Classes
    MatrixD → MatriD
  52. def copy: MatrixD
    Definition Classes
    MatrixD → MatriD
  53. def det: Double
    Definition Classes
    MatrixD → MatriD
  54. def diag(p: Int, q: Int): MatrixD
    Definition Classes
    MatrixD → MatriD
  55. def diag(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  56. lazy val dim1: Int
    Definition Classes
    MatrixD → MatriD
  57. lazy val dim2: Int
    Definition Classes
    MatrixD → MatriD
  58. def dot(b: MatrixD): VectorD
    Definition Classes
    MatrixD
  59. def dot(b: MatriD): VectorD
    Definition Classes
    MatrixD → MatriD
  60. def dot(u: VectoD): VectorD
    Definition Classes
    MatrixD → MatriD
  61. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. def equals(b: Any): Boolean
    Definition Classes
    MatrixD → AnyRef → Any
  63. val fString: String
    Attributes
    protected
    Definition Classes
    MatriD
  64. def flatten: VectorD
    Definition Classes
    MatrixD → MatriD
  65. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  66. def foreach[U](f: (Array[Double]) => U): Unit
    Definition Classes
    MatriD
  67. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  68. def getDiag(k: Int): VectorD
    Definition Classes
    MatrixD → MatriD
  69. def hashCode(): Int
    Definition Classes
    MatrixD → AnyRef → Any
  70. def inverse: MatrixD
    Definition Classes
    MatrixD → MatriD
  71. def inverse_ip(): MatrixD
    Definition Classes
    MatrixD → MatriD
  72. def inverse_npp: MatrixD
    Definition Classes
    MatrixD
  73. def isBidiagonal: Boolean
    Definition Classes
    MatriD
  74. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  75. def isNonnegative: Boolean
    Definition Classes
    MatriD
  76. def isRectangular: Boolean
    Definition Classes
    MatrixD → MatriD
  77. def isSquare: Boolean
    Definition Classes
    MatriD
  78. def isSymmetric: Boolean
    Definition Classes
    MatriD
  79. def isTridiagonal: Boolean
    Definition Classes
    MatriD
  80. def leDimensions(b: MatriD): Boolean
    Definition Classes
    MatriD
  81. def lowerT: MatrixD
    Definition Classes
    MatrixD → MatriD
  82. def lud_ip(): (MatrixD, MatrixD)
    Definition Classes
    MatrixD → MatriD
  83. def lud_npp: (MatrixD, MatrixD)
    Definition Classes
    MatrixD → MatriD
  84. def mag: Double
    Definition Classes
    MatriD
  85. def map(f: (VectoD) => VectoD): MatrixD
    Definition Classes
    MatrixD → MatriD
  86. def max(rg1: Range, rg2: Range): Double
    Definition Classes
    MatrixD
  87. def max(e: Int): Double
    Definition Classes
    MatrixD → MatriD
  88. def mdot(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  89. def mdot(b: MatriD): MatrixD
    Definition Classes
    MatrixD → MatriD
  90. def mean: VectoD
    Definition Classes
    MatriD
  91. def meanNZ: VectoD
    Definition Classes
    MatriD
  92. def meanR: VectoD
    Definition Classes
    MatriD
  93. def meanRNZ: VectoD
    Definition Classes
    MatriD
  94. def min(rg1: Range, rg2: Range): Double
    Definition Classes
    MatrixD
  95. def min(e: Int): Double
    Definition Classes
    MatrixD → MatriD
  96. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  97. def norm1: Double
    Definition Classes
    MatriD
  98. def normF: Double
    Definition Classes
    MatriD
  99. def normFSq: Double
    Definition Classes
    MatriD
  100. def normINF: Double
    Definition Classes
    MatriD
  101. def normalizeU: MatrixD
    Definition Classes
    MatrixD
  102. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  103. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  104. def nullspace: VectorD
    Definition Classes
    MatrixD → MatriD
  105. def nullspace_ip(): VectorD
    Definition Classes
    MatrixD → MatriD
  106. val range1: Range
    Definition Classes
    MatriD
  107. val range2: Range
    Definition Classes
    MatriD
  108. def reduce: MatrixD
    Definition Classes
    MatrixD → MatriD
  109. def reduce_ip(): MatrixD
    Definition Classes
    MatrixD → MatriD
  110. def sameCrossDimensions(b: MatriD): Boolean
    Definition Classes
    MatriD
  111. def sameDimensions(b: MatriD): Boolean
    Definition Classes
    MatriD
  112. def selectCols(colIndex: Array[Int]): MatrixD
    Definition Classes
    MatrixD → MatriD
  113. def selectRows(rowIndex: Array[Int]): MatrixD
    Definition Classes
    MatrixD → MatriD
  114. def selectRows(rowIndex: VectoI): MatriD
    Definition Classes
    MatriD
  115. def selectRowsEx(rowIndex: VectoI): MatriD
    Definition Classes
    MatriD
  116. def selectRowsEx(rowIndex: Array[Int]): MatriD
    Definition Classes
    MatriD
  117. def set(i: Int, u: VectoD, j: Int): Unit
    Definition Classes
    MatrixD → MatriD
  118. def set(b: MatriD): Unit
    Definition Classes
    MatrixD → MatriD
  119. def set(u: Array[Array[Double]]): Unit
    Definition Classes
    MatrixD → MatriD
  120. def set(x: Double): Unit
    Definition Classes
    MatrixD → MatriD
  121. def setCol(col: Int, u: VectoD): Unit
    Definition Classes
    MatrixD → MatriD
  122. def setDiag(x: Double): Unit
    Definition Classes
    MatrixD → MatriD
  123. def setDiag(u: VectoD, k: Int): Unit
    Definition Classes
    MatrixD → MatriD
  124. def setFormat(newFormat: String): Unit
    Definition Classes
    MatriD
  125. def slice(r_from: Int, r_end: Int, c_from: Int, c_end: Int): MatrixD
    Definition Classes
    MatrixD → MatriD
  126. def slice(from: Int, end: Int): MatrixD
    Definition Classes
    MatrixD → MatriD
  127. def slice(rg: Range): MatriD
    Definition Classes
    MatriD
  128. def sliceCol(from: Int, end: Int): MatrixD
    Definition Classes
    MatrixD → MatriD
  129. def sliceEx(row: Int, col: Int): MatrixD
    Definition Classes
    MatrixD → MatriD
  130. def sliceEx(rg: Range): MatriD
    Definition Classes
    MatriD
  131. def solve(b: VectoD): VectoD
    Definition Classes
    MatrixD → MatriD
  132. def solve(l: MatriD, u: MatriD, b: VectoD): VectoD
    Definition Classes
    MatrixD → MatriD
  133. def solve(lu: (MatriD, MatriD), b: VectoD): VectoD
    Definition Classes
    MatriD
  134. def splitRows(rowIndex: VectoI): (MatriD, MatriD)
    Definition Classes
    MatriD
  135. def splitRows(rowIndex: Array[Int]): (MatriD, MatriD)
    Definition Classes
    MatriD
  136. def sum: Double
    Definition Classes
    MatrixD → MatriD
  137. def sumAbs: Double
    Definition Classes
    MatrixD → MatriD
  138. def sumLower: Double
    Definition Classes
    MatrixD → MatriD
  139. def swap(i: Int, k: Int, col: Int): Unit
    Definition Classes
    MatriD
  140. def swapCol(j: Int, l: Int, row: Int): Unit
    Definition Classes
    MatriD
  141. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  142. def t: MatrixD
    Definition Classes
    MatrixD → MatriD
  143. def times(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  144. def times_d(b: MatriD): MatrixD
    Definition Classes
    MatrixD
  145. def times_ip(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  146. def times_ip_pre(b: MatrixD, d: Int): MatrixD
    Definition Classes
    MatrixD
  147. def times_s(b: MatrixD): MatrixD
    Definition Classes
    MatrixD
  148. def tip(): MatrixD
    Definition Classes
    MatrixD
  149. def toDense: MatrixD
    Definition Classes
    MatrixD → MatriD
  150. def toDouble: MatrixD
    Definition Classes
    MatrixD → MatriD
  151. def toInt: MatrixI
    Definition Classes
    MatrixD → MatriD
  152. def toString(): String
    Definition Classes
    MatrixD → AnyRef → Any
  153. def trace: Double
    Definition Classes
    MatrixD → MatriD
  154. def update(ir: Range, jr: Range, b: MatriD): Unit
    Definition Classes
    MatrixD → MatriD
  155. def update(i: Int, u: VectoD): Unit
    Definition Classes
    MatrixD → MatriD
  156. def update(i: Int, j: Int, x: Double): Unit
    Definition Classes
    MatrixD → MatriD
  157. def update(i: Int, jr: Range, u: VectoD): Unit
    Definition Classes
    MatriD
  158. def update(ir: Range, j: Int, u: VectoD): Unit
    Definition Classes
    MatriD
  159. def upperT: MatrixD
    Definition Classes
    MatrixD → MatriD
  160. var v2: Array[Array[Double]]
    Attributes
    protected
  161. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  162. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  163. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  164. def write(fileName: String): Unit
    Definition Classes
    MatrixD → MatriD
  165. def x: VectorD

    Return the 'x' vector (first column).

  166. def y: VectorD

    Return the 'y' vector (second column).

  167. def zero(m: Int, n: Int): MatrixD
    Definition Classes
    MatrixD → MatriD
  168. def ~^(p: Int): MatrixD
    Definition Classes
    MatrixD → MatriD

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from MatrixD

Inherited from Serializable

Inherited from MatriD

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped