object MatrixWrapper
The Matrix object contains pure matrix methods from linear algebra.
Complex numbers are represented with two consecutive Doubles. All matrix
data is represented in a single array of arrays. Matricies for most methods have to
be square and unitary.
- Alphabetic
- By Inheritance
- MatrixWrapper
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 areEqual(m1: Matrix, m2: Matrix): Boolean
Checks if two square matricies of the same dimension are the same.
Checks if two square matricies of the same dimension are the same.
- m1
Array of arrays of doubles.
- m2
Array of arrays of doubles.
- returns
Boolean.
- def areSameDimension(matrix: Matrix, vector: Vector): Boolean
Checks if a matrix and a vector are of the same dimension.
Checks if a matrix and a vector are of the same dimension.
- matrix
Array of arrays of doubles.
- vector
Array of doubles.
- returns
Boolean.
- def areSameDimension(m1: Matrix, m2: Matrix): Boolean
Checks if two matricies are of the same dimension.
Checks if two matricies are of the same dimension.
- m1
Array of arrays of doubles.
- m2
Array of arrays of doubles.
- returns
Boolean.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def conjugateTranspose(matrix: Matrix): Matrix
Returns the complex conjugate transpose of a square matrix.
Returns the complex conjugate transpose of a square matrix. This method is not optimized.
- matrix
Array of arrays of doubles.
- returns
Array of doubles.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def identity(dimension: Int): Matrix
Returns an identity matrix of a specific dimension.
Returns an identity matrix of a specific dimension.
- dimension
Integer dimension value.
- returns
Array of arrays of doubles.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSquare(matrix: Matrix): Boolean
Checks if the matrix is a square matrix.
Checks if the matrix is a square matrix.
- matrix
Array of arrays of doubles.
- returns
Boolean.
- def isUnitary(matrix: Matrix): Boolean
Checks if the matrix is a unitary matrix.
Checks if the matrix is a unitary matrix.
- matrix
Array of arrays of doubles.
- returns
Boolean.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def product(matrix: Matrix, vector: Vector): Vector
Returns the product of a square matrix and a vector of the same dimension.
Returns the product of a square matrix and a vector of the same dimension. This method is not optimized.
- matrix
Array of arrays of doubles.
- vector
Array of doubles.
- returns
Array of doubles.
- def product(m1: Matrix, m2: Matrix): Matrix
Returns the product of two square matricies of the same dimension.
Returns the product of two square matricies of the same dimension. This method is not optimized.
- m1
Array of arrays of doubles.
- m2
Array of arrays of doubles.
- returns
Array of arrays of doubles.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])