org.ojalgo.matrix.decomposition
Class ComplexQR

java.lang.Object
  extended by org.ojalgo.matrix.decomposition.ArbitraryQR<ComplexNumber>
      extended by org.ojalgo.matrix.decomposition.ComplexQR
All Implemented Interfaces:
Serializable, MatrixDecomposition<ComplexNumber>, QR<ComplexNumber>

public final class ComplexQR
extends ArbitraryQR<ComplexNumber>

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ojalgo.matrix.decomposition.ArbitraryQR
ArbitraryQR.QRStore<N extends Number>
 
Constructor Summary
ComplexQR()
           
 
Method Summary
 boolean equals(BasicMatrix aMtrx, NumberContext aCntxt)
           
 boolean isComputed()
           
 boolean isSolvable()
           
 Future<Result<N>> solve(MatrixStore<N> aBody, MatrixStore<N> aRHS)
          Will solve [aBody][X]=[aRHS] concurrently by first calling MatrixDecomposition.compute(MatrixStore) using [aBody], and then MatrixDecomposition.solve(MatrixStore) using [aRHS].
 
Methods inherited from class org.ojalgo.matrix.decomposition.ArbitraryQR
compute, equals, getH, getPseudoinverse, getQ, getR, getRank, isEconomySize, isFullRank, makeBig, makeComplex, makePrimitive, solve
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
equals, isComputed, isSolvable, solve
 

Constructor Detail

ComplexQR

public ComplexQR()
Method Detail

equals

public boolean equals(BasicMatrix aMtrx,
                      NumberContext aCntxt)
Specified by:
equals in interface MatrixDecomposition<N extends Number>

isComputed

public boolean isComputed()
Specified by:
isComputed in interface MatrixDecomposition<N extends Number>
Returns:
true if computation has been attemped; false if not.
See Also:
MatrixDecomposition.compute(MatrixStore), MatrixDecomposition.isSolvable()

isSolvable

public boolean isSolvable()
Specified by:
isSolvable in interface MatrixDecomposition<N extends Number>
Returns:
true if it is ok to call MatrixDecomposition.solve(MatrixStore) (computation was successful); false if not
See Also:
MatrixDecomposition.solve(MatrixStore), MatrixDecomposition.isComputed()

solve

public Future<Result<N>> solve(MatrixStore<N> aBody,
                               MatrixStore<N> aRHS)
Description copied from interface: MatrixDecomposition
Will solve [aBody][X]=[aRHS] concurrently by first calling MatrixDecomposition.compute(MatrixStore) using [aBody], and then MatrixDecomposition.solve(MatrixStore) using [aRHS]. If either of the input [aBody] or [aRHS] is set to null the corresponing calculation is skipped.

Specified by:
solve in interface MatrixDecomposition<N extends Number>
Parameters:
aBody - The equation system body
aRHS - The equation system right hand side
Returns:
The matrix decomposition and the equation system solution, [X]