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 newEigenvalueAndVectorinstance. -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(EigenvalueAndVector other) Creates a deep-copy of the current object.booleandoubleThe eigenvalue.cern.colt.matrix.DoubleMatrix1DThe eigenvector corresponding toeigenvalue.inthashCode()toString()
-
Constructor Details
-
EigenvalueAndVector
public EigenvalueAndVector(double eigenvalue, cern.colt.matrix.DoubleMatrix1D eigenvector) Creates a newEigenvalueAndVectorinstance.- Parameters:
eigenvalue- The eigenvalue.eigenvector- The eigenvector corresponding toeigenvalue.
-
-
Method Details
-
compareTo
- Specified by:
compareToin 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
-