Class EigenvalueAndVector
Object
EigenvalueAndVector
- All Implemented Interfaces:
Comparable<EigenvalueAndVector>
An eigenvalue and its corresponding eigenvector.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionEigenvalueAndVector
(double eigenvalue, cern.colt.matrix.DoubleMatrix1D eigenvector) Creates a newEigenvalueAndVector
instance. -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(EigenvalueAndVector other) Creates a deep-copy of the current object.boolean
double
The eigenvalue.cern.colt.matrix.DoubleMatrix1D
The eigenvector corresponding toeigenvalue
.int
hashCode()
toString()
-
Constructor Details
-
EigenvalueAndVector
public EigenvalueAndVector(double eigenvalue, cern.colt.matrix.DoubleMatrix1D eigenvector) Creates a newEigenvalueAndVector
instance.- Parameters:
eigenvalue
- The eigenvalue.eigenvector
- The eigenvector corresponding toeigenvalue
.
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<EigenvalueAndVector>
-
duplicate
Creates a deep-copy of the current object.- Returns:
- a deep copy.
-
getEigenvalue
public double getEigenvalue()The eigenvalue. -
getEigenvector
public cern.colt.matrix.DoubleMatrix1D getEigenvector()The eigenvector corresponding toeigenvalue
. -
equals
-
hashCode
public int hashCode() -
toString
-