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 intDEFAULT_EIGENIZATION_ITERATION_COUNTDefault 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-outputEigenOutputeigenize(double[][] a)Eigenize and Extract the Components of the Specified MatrixintmaxIterations()Retrieve the Maximum Number of IterationsEigenComponent[]orderedEigenComponentArray(double[][] a)Generate the Ordered List of Eigen Components arranged by Ascending EigenvalueEigenComponentprincipalComponent(double[][] a)Compute the Principal Component of the Specified Matrixstatic QREigenComponentExtractorStandard()Construct a Standard Instance of QREigenComponentExtractorUDudForm(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:ComponentExtractorEigenize and Extract the Components of the Specified Matrix- Specified by:
eigenizein 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:ComponentExtractorCompute the Principal Component of the Specified Matrix- Specified by:
principalComponentin 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
-