Class PsdMatrices.Eigen
java.lang.Object
com.quantfinlib.risk.PsdMatrices.Eigen
- Enclosing class:
PsdMatrices
Eigenvalues (descending) and matching unit eigenvectors
vectors[k].-
Constructor Summary
ConstructorsConstructorDescriptionEigen(double[] values, double[][] vectors) Creates the value; array and collection arguments are copied. -
Method Summary
-
Constructor Details
-
Eigen
public Eigen(double[] values, double[][] vectors) Creates the value; array and collection arguments are copied.
-
-
Method Details
-
values
public double values(int i) Elementiofvalues. -
valuesLength
public int valuesLength()Length ofvalues. -
valuesCopy
public double[] valuesCopy()A fresh copy ofvalues. -
vectors
public double vectors(int i, int j) Element[i][j]ofvectors. -
vectorsRows
public int vectorsRows()Number of rows ofvectors. -
vectorsCopy
public double[][] vectorsCopy()A deep copy ofvectors. -
equals
-
hashCode
-
toString
-