public class ChangeDetectingEigenChooser extends EigenChooser
Constructor and Description |
---|
ChangeDetectingEigenChooser(double relativeGap,
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
|
public ChangeDetectingEigenChooser(double relativeGap, double maxSelect)
relativeGap
- the gap between previous and current (treated as absolute if previous value == 0)maxSelect
- 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