class Matrix3D extends MatrixD
The Matrix3D
class stores and operates on Numeric Matrices of base type Double
and having 3 coordinates (x, y, z).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Matrix3D
- MatrixD
- Serializable
- MatriD
- Error
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Matrix3D(d1: Int, v3: Array[Array[Double]] = null)
- d1
the first/row dimension (second dimension fixed at 3)
- v3
the 1D array used to store vector elements
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def *(u: VectoD): VectorD
- Definition Classes
- MatrixD → MatriD
- def *(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def *(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def **(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def **(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def **:(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def **=(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def *:(u: VectoD): VectoD
- Definition Classes
- MatriD
- def *=(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def *=(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def *=(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def +(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def ++(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def ++^(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +:(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +=(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +=(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +=(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def +=(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def +^:(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def -=(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -=(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -=(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def -=(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def /(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def /=(x: Double): MatrixD
- Definition Classes
- MatrixD → MatriD
- def :+(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def :^+(u: VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(iv: VectoI): MatrixD
- Definition Classes
- MatrixD → MatriD
- def apply(): Array[Array[Double]]
- Definition Classes
- MatrixD
- def apply(ir: Range, jr: Range): MatrixD
- Definition Classes
- MatrixD → MatriD
- def apply(i: Int): VectorD
- Definition Classes
- MatrixD → MatriD
- def apply(i: Int, j: Int): Double
- Definition Classes
- MatrixD → MatriD
- def apply(i: Int, jr: Range): VectoD
- Definition Classes
- MatriD
- def apply(ir: Range, j: Int): VectoD
- Definition Classes
- MatriD
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bsolve(y: VectoD): VectorD
- Definition Classes
- MatrixD → MatriD
- def clean(thres: Double, relative: Boolean): MatrixD
- Definition Classes
- MatrixD → MatriD
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def col(col: Int, from: Int): VectorD
- Definition Classes
- MatrixD → MatriD
- def copy: MatrixD
- Definition Classes
- MatrixD → MatriD
- def det: Double
- Definition Classes
- MatrixD → MatriD
- def diag(p: Int, q: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
- def diag(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- lazy val dim1: Int
- Definition Classes
- MatrixD → MatriD
- lazy val dim2: Int
- Definition Classes
- MatrixD → MatriD
- def dot(b: MatrixD): VectorD
- Definition Classes
- MatrixD
- def dot(b: MatriD): VectorD
- Definition Classes
- MatrixD → MatriD
- def dot(u: VectoD): VectorD
- Definition Classes
- MatrixD → MatriD
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(b: Any): Boolean
- Definition Classes
- MatrixD → AnyRef → Any
- val fString: String
- Attributes
- protected
- Definition Classes
- MatriD
- def flatten: VectorD
- Definition Classes
- MatrixD → MatriD
- final def flaw(method: String, message: String): Unit
- Definition Classes
- Error
- def foreach[U](f: (Array[Double]) => U): Unit
- Definition Classes
- MatriD
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getDiag(k: Int): VectorD
- Definition Classes
- MatrixD → MatriD
- def hashCode(): Int
- Definition Classes
- MatrixD → AnyRef → Any
- def inverse: MatrixD
- Definition Classes
- MatrixD → MatriD
- def inverse_ip(): MatrixD
- Definition Classes
- MatrixD → MatriD
- def inverse_npp: MatrixD
- Definition Classes
- MatrixD
- def isBidiagonal: Boolean
- Definition Classes
- MatriD
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNonnegative: Boolean
- Definition Classes
- MatriD
- def isRectangular: Boolean
- Definition Classes
- MatrixD → MatriD
- def isSquare: Boolean
- Definition Classes
- MatriD
- def isSymmetric: Boolean
- Definition Classes
- MatriD
- def isTridiagonal: Boolean
- Definition Classes
- MatriD
- def leDimensions(b: MatriD): Boolean
- Definition Classes
- MatriD
- def lowerT: MatrixD
- Definition Classes
- MatrixD → MatriD
- def lud_ip(): (MatrixD, MatrixD)
- Definition Classes
- MatrixD → MatriD
- def lud_npp: (MatrixD, MatrixD)
- Definition Classes
- MatrixD → MatriD
- def mag: Double
- Definition Classes
- MatriD
- def map(f: (VectoD) => VectoD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def max(rg1: Range, rg2: Range): Double
- Definition Classes
- MatrixD
- def max(e: Int): Double
- Definition Classes
- MatrixD → MatriD
- def mdot(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def mdot(b: MatriD): MatrixD
- Definition Classes
- MatrixD → MatriD
- def mean: VectoD
- Definition Classes
- MatriD
- def meanNZ: VectoD
- Definition Classes
- MatriD
- def meanR: VectoD
- Definition Classes
- MatriD
- def meanRNZ: VectoD
- Definition Classes
- MatriD
- def min(rg1: Range, rg2: Range): Double
- Definition Classes
- MatrixD
- def min(e: Int): Double
- Definition Classes
- MatrixD → MatriD
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def norm1: Double
- Definition Classes
- MatriD
- def normF: Double
- Definition Classes
- MatriD
- def normFSq: Double
- Definition Classes
- MatriD
- def normINF: Double
- Definition Classes
- MatriD
- def normalizeU: MatrixD
- Definition Classes
- MatrixD
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def nullspace: VectorD
- Definition Classes
- MatrixD → MatriD
- def nullspace_ip(): VectorD
- Definition Classes
- MatrixD → MatriD
- val range1: Range
- Definition Classes
- MatriD
- val range2: Range
- Definition Classes
- MatriD
- def reduce: MatrixD
- Definition Classes
- MatrixD → MatriD
- def reduce_ip(): MatrixD
- Definition Classes
- MatrixD → MatriD
- def sameCrossDimensions(b: MatriD): Boolean
- Definition Classes
- MatriD
- def sameDimensions(b: MatriD): Boolean
- Definition Classes
- MatriD
- def selectCols(colIndex: Array[Int]): MatrixD
- Definition Classes
- MatrixD → MatriD
- def selectRows(rowIndex: Array[Int]): MatrixD
- Definition Classes
- MatrixD → MatriD
- def selectRows(rowIndex: VectoI): MatriD
- Definition Classes
- MatriD
- def selectRowsEx(rowIndex: VectoI): MatriD
- Definition Classes
- MatriD
- def selectRowsEx(rowIndex: Array[Int]): MatriD
- Definition Classes
- MatriD
- def set(i: Int, u: VectoD, j: Int): Unit
- Definition Classes
- MatrixD → MatriD
- def set(b: MatriD): Unit
- Definition Classes
- MatrixD → MatriD
- def set(u: Array[Array[Double]]): Unit
- Definition Classes
- MatrixD → MatriD
- def set(x: Double): Unit
- Definition Classes
- MatrixD → MatriD
- def setCol(col: Int, u: VectoD): Unit
- Definition Classes
- MatrixD → MatriD
- def setDiag(x: Double): Unit
- Definition Classes
- MatrixD → MatriD
- def setDiag(u: VectoD, k: Int): Unit
- Definition Classes
- MatrixD → MatriD
- def setFormat(newFormat: String): Unit
- Definition Classes
- MatriD
- def slice(r_from: Int, r_end: Int, c_from: Int, c_end: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
- def slice(from: Int, end: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
- def slice(rg: Range): MatriD
- Definition Classes
- MatriD
- def sliceCol(from: Int, end: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
- def sliceEx(row: Int, col: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
- def sliceEx(rg: Range): MatriD
- Definition Classes
- MatriD
- def solve(b: VectoD): VectoD
- Definition Classes
- MatrixD → MatriD
- def solve(l: MatriD, u: MatriD, b: VectoD): VectoD
- Definition Classes
- MatrixD → MatriD
- def solve(lu: (MatriD, MatriD), b: VectoD): VectoD
- Definition Classes
- MatriD
- def splitRows(rowIndex: VectoI): (MatriD, MatriD)
- Definition Classes
- MatriD
- def splitRows(rowIndex: Array[Int]): (MatriD, MatriD)
- Definition Classes
- MatriD
- def sum: Double
- Definition Classes
- MatrixD → MatriD
- def sumAbs: Double
- Definition Classes
- MatrixD → MatriD
- def sumLower: Double
- Definition Classes
- MatrixD → MatriD
- def swap(i: Int, k: Int, col: Int): Unit
- Definition Classes
- MatriD
- def swapCol(j: Int, l: Int, row: Int): Unit
- Definition Classes
- MatriD
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def t: MatrixD
- Definition Classes
- MatrixD → MatriD
- def times(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def times_d(b: MatriD): MatrixD
- Definition Classes
- MatrixD
- def times_ip(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def times_ip_pre(b: MatrixD, d: Int): MatrixD
- Definition Classes
- MatrixD
- def times_s(b: MatrixD): MatrixD
- Definition Classes
- MatrixD
- def tip(): MatrixD
- Definition Classes
- MatrixD
- def toDense: MatrixD
- Definition Classes
- MatrixD → MatriD
- def toDouble: MatrixD
- Definition Classes
- MatrixD → MatriD
- def toInt: MatrixI
- Definition Classes
- MatrixD → MatriD
- def toString(): String
- Definition Classes
- MatrixD → AnyRef → Any
- def trace: Double
- Definition Classes
- MatrixD → MatriD
- def update(ir: Range, jr: Range, b: MatriD): Unit
- Definition Classes
- MatrixD → MatriD
- def update(i: Int, u: VectoD): Unit
- Definition Classes
- MatrixD → MatriD
- def update(i: Int, j: Int, x: Double): Unit
- Definition Classes
- MatrixD → MatriD
- def update(i: Int, jr: Range, u: VectoD): Unit
- Definition Classes
- MatriD
- def update(ir: Range, j: Int, u: VectoD): Unit
- Definition Classes
- MatriD
- def upperT: MatrixD
- Definition Classes
- MatrixD → MatriD
- var v3: Array[Array[Double]]
- Attributes
- protected
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(fileName: String): Unit
- Definition Classes
- MatrixD → MatriD
- def x: VectorD
Return the 'x' vector (first column).
- def y: VectorD
Return the 'y' vector (second column).
- def z: VectorD
Return the 'z' vector (third column).
- def zero(m: Int, n: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
- def ~^(p: Int): MatrixD
- Definition Classes
- MatrixD → MatriD
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated