public class AbsoluteValueEigenChooser extends EigenChooser
| Constructor and Description |
|---|
AbsoluteValueEigenChooser(double absoluteGap,
double maxSelect) |
| Modifier and Type | Method and Description |
|---|---|
int |
nEigenVectors(Iterator<DoubleObjectPair<Vector>> vals,
int totalEigenVectors) |
FewEigenvalues |
prepare(SparseMatrix laplacian)
Make a coarse decision of the number of eigen vectors to extract in the first place
with the knowledge of the eigen values that will likely be important
|
String |
toString() |
public AbsoluteValueEigenChooser(double absoluteGap, double maxSelect)
absoluteGap - the gap between the first and the current valuemaxSelect - public int nEigenVectors(Iterator<DoubleObjectPair<Vector>> vals, int totalEigenVectors)
nEigenVectors in class EigenChoosertotalEigenVectors - the total number of eigen vectorspublic FewEigenvalues prepare(SparseMatrix laplacian)
EigenChooserprepare in class EigenChooserlaplacian - the matrix to be decomposed