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 EigenChooser
totalEigenVectors
- the total number of eigen vectorspublic FewEigenvalues prepare(SparseMatrix laplacian)
EigenChooser
prepare
in class EigenChooser
laplacian
- the matrix to be decomposed