org.jscience.chemistry.quantum.math.la
Class DiagonalizerFactory

java.lang.Object
  extended by org.jscience.chemistry.quantum.math.la.DiagonalizerFactory

public class DiagonalizerFactory
extends java.lang.Object

Supplying Diagonalizers! Follows a singleton pattern.


Method Summary
 Diagonalizer getDefaultDiagonalizer()
          Getter for property defaultDiagonalizer.
 Diagonalizer getDiagonalizer(DiagonalizerType dt)
          Return an appropriate instance of Diagonalizer
static DiagonalizerFactory getInstance()
          Get an instance (and the only one) of BasisReader
 void setDefaultDiagonalizer(Diagonalizer defaultDiagonalizer)
          Setter for property defaultDiagonalizer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DiagonalizerFactory getInstance()
Get an instance (and the only one) of BasisReader

Returns:
DiagonalizerFactory instance

getDiagonalizer

public Diagonalizer getDiagonalizer(DiagonalizerType dt)
Return an appropriate instance of Diagonalizer

Parameters:
dt - the diagonalizer type
Returns:
appropriate Diagonalizer instance
Throws:
java.lang.UnsupportedOperationException - DOCUMENT ME!

getDefaultDiagonalizer

public Diagonalizer getDefaultDiagonalizer()
Getter for property defaultDiagonalizer.

Returns:
Value of property defaultDiagonalizer.

setDefaultDiagonalizer

public void setDefaultDiagonalizer(Diagonalizer defaultDiagonalizer)
Setter for property defaultDiagonalizer.

Parameters:
defaultDiagonalizer - New value of property defaultDiagonalizer.