Class EigenvalueAndVector
Object
org.anchoranalysis.math.statistics.moment.EigenvalueAndVector
- All Implemented Interfaces:
Comparable<EigenvalueAndVector>
public final class EigenvalueAndVector extends Object implements Comparable<EigenvalueAndVector>
An eigenvalue and its corresponding eigenvector.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description EigenvalueAndVector(double eigenvalue, cern.colt.matrix.DoubleMatrix1D eigenvector) -
Method Summary
Modifier and Type Method Description intcompareTo(EigenvalueAndVector other)EigenvalueAndVectorduplicate()Creates a deep-copy of the current object.booleanequals(Object o)doublegetEigenvalue()The eigenvalue.cern.colt.matrix.DoubleMatrix1DgetEigenvector()The eigenvector corresponding toeigenvalue.inthashCode()StringtoString()
-
Constructor Details
-
EigenvalueAndVector
public EigenvalueAndVector(double eigenvalue, cern.colt.matrix.DoubleMatrix1D eigenvector)
-
-
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
-