org.ojalgo.matrix.jama
Class JamaEigenvalue.General

java.lang.Object
  extended by org.ojalgo.matrix.jama.JamaEigenvalue
      extended by org.ojalgo.matrix.jama.JamaEigenvalue.General
All Implemented Interfaces:
Eigenvalue<Double>, MatrixDecomposition<Double>
Enclosing class:
JamaEigenvalue

public static final class JamaEigenvalue.General
extends JamaEigenvalue


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ojalgo.matrix.jama.JamaEigenvalue
JamaEigenvalue.General, JamaEigenvalue.Nonsymmetric, JamaEigenvalue.Symmetric
 
Constructor Summary
JamaEigenvalue.General()
           
 
Method Summary
 boolean compute(Access2D<?> aStore)
           
 boolean equals(MatrixDecomposition<Double> aDecomp, NumberContext aCntxt)
           
 MatrixStore<Double> getInverse(DecompositionStore<Double> preallocated)
          Makes no use of preallocated at all.
 JamaMatrix invert(MatrixStore<Double> aStore)
           
 JamaMatrix solve(MatrixStore<Double> aRHS, DecompositionStore<Double> preallocated)
          Makes no use of preallocated at all.
 
Methods inherited from class org.ojalgo.matrix.jama.JamaEigenvalue
compute, equals, getD, getDeterminant, getEigenvalues, getInverse, getTrace, getV, isAspectRatioNormal, isComputed, isFullSize, isHermitian, isOrdered, isSolvable, isSymmetric, reconstruct, reset, solve, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition
compute, equals, getInverse, solve
 

Constructor Detail

JamaEigenvalue.General

public JamaEigenvalue.General()
Method Detail

compute

public final boolean compute(Access2D<?> aStore)
Specified by:
compute in interface MatrixDecomposition<Double>
Parameters:
aStore - A matrix to decompose
Returns:
true if the computation suceeded; false if not

equals

public final boolean equals(MatrixDecomposition<Double> aDecomp,
                            NumberContext aCntxt)
Specified by:
equals in interface MatrixDecomposition<Double>

getInverse

public final MatrixStore<Double> getInverse(DecompositionStore<Double> preallocated)
Makes no use of preallocated at all. Simply delegates to getInverse().

Specified by:
getInverse in interface MatrixDecomposition<Double>
Parameters:
preallocated - Preallocated memory for the results, possibly some intermediate results. You must assume this is modified, but you cannot assume it will contain the full/final/correct solution.
Returns:
The inverse
See Also:
MatrixDecomposition.getInverse(org.ojalgo.matrix.decomposition.DecompositionStore)

invert

public final JamaMatrix invert(MatrixStore<Double> aStore)

solve

public final JamaMatrix solve(MatrixStore<Double> aRHS,
                              DecompositionStore<Double> preallocated)
Makes no use of preallocated at all. Simply delegates to solve(MatrixStore).

Specified by:
solve in interface MatrixDecomposition<Double>
Parameters:
aRHS - The Right Hand Side, wont be modfied
preallocated - Preallocated memory for the results, possibly some intermediate results. You must assume this is modified, but you cannot assume it will contain the full/final/correct solution.
Returns:
The solution
See Also:
MatrixDecomposition.solve(org.ojalgo.matrix.store.MatrixStore, org.ojalgo.matrix.decomposition.DecompositionStore)