Package org.drip.numerical.eigenization
Class QREigenComponentExtractor
java.lang.Object
org.drip.numerical.eigenization.QREigenComponentExtractor
- All Implemented Interfaces:
ComponentExtractor
public class QREigenComponentExtractor extends java.lang.Object implements ComponentExtractor
QREigenComponentExtractor extracts the Eigenvalues and Eigenvectors using QR Decomposition.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Numerical Quadrature, Differentiation, Eigenization, Linear Algebra, and Utilities
- Package = Eigen-value and Eigen-component Extraction Schemes
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_EIGENIZATION_ITERATION_COUNT
Default Eigenization Iteration Count -
Constructor Summary
Constructors Constructor Description QREigenComponentExtractor(int maxIterations)
QREigenComponentExtractor Constructor -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.Integer>
eigenComponentOrderList(EigenOutput eigenOutput)
Generate the Ordered List of Eigenvalues for the specified Eigen-outputEigenOutput
eigenize(double[][] a)
Eigenize and Extract the Components of the Specified Matrixint
maxIterations()
Retrieve the Maximum Number of IterationsEigenComponent[]
orderedEigenComponentArray(double[][] a)
Generate the Ordered List of Eigen Components arranged by Ascending EigenvalueEigenComponent
principalComponent(double[][] a)
Compute the Principal Component of the Specified Matrixstatic QREigenComponentExtractor
Standard()
Construct a Standard Instance of QREigenComponentExtractorUD
udForm(double[][] a)
Generate the UD Form of the Input MatrixMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_EIGENIZATION_ITERATION_COUNT
public static final int DEFAULT_EIGENIZATION_ITERATION_COUNTDefault Eigenization Iteration Count- See Also:
- Constant Field Values
-
-
Constructor Details
-
QREigenComponentExtractor
public QREigenComponentExtractor(int maxIterations) throws java.lang.ExceptionQREigenComponentExtractor Constructor- Parameters:
maxIterations
- Maximum Number of Iterations- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
Construct a Standard Instance of QREigenComponentExtractor- Returns:
- Standard Instance of QREigenComponentExtractor
-
maxIterations
public int maxIterations()Retrieve the Maximum Number of Iterations- Returns:
- The Maximum Number of Iterations
-
eigenize
Description copied from interface:ComponentExtractor
Eigenize and Extract the Components of the Specified Matrix- Specified by:
eigenize
in interfaceComponentExtractor
- Parameters:
a
- The Input Matrix- Returns:
- The EigenComponents
-
eigenComponentOrderList
Generate the Ordered List of Eigenvalues for the specified Eigen-output- Parameters:
eigenOutput
- The Eigen Output- Returns:
- The Order List
-
orderedEigenComponentArray
Generate the Ordered List of Eigen Components arranged by Ascending Eigenvalue- Parameters:
a
- Input Matrix- Returns:
- The Ordered List of Eigen Components arranged by Ascending Eigenvalue
-
principalComponent
Description copied from interface:ComponentExtractor
Compute the Principal Component of the Specified Matrix- Specified by:
principalComponent
in interfaceComponentExtractor
- Parameters:
a
- The Input Matrix- Returns:
- The Principal EigenComponent Instance
-
udForm
Generate the UD Form of the Input Matrix- Parameters:
a
- The Input Matrix- Returns:
- The UD Form
-