RBGen
Version of the Day
|
Threshold-based filter. More...
#include <RBGen_Filter.hpp>
Public Member Functions | |
Constructor/Destructor. | |
ThreshFilter (SortType which, bool absthresh, typename Teuchos::ScalarTraits< ScalarType >::magnitudeType thresh) | |
Default constructor. More... | |
virtual | ~ThreshFilter () |
Destructor. More... | |
Filter Method | |
std::vector< int > | filter (const std::vector< ScalarType > &svals) |
Return an index for the singular values falling within the threshold. More... | |
Public Member Functions inherited from RBGen::Filter< ScalarType > | |
Filter (SortType which=LARGEST) | |
Default constructor. More... | |
virtual | ~Filter () |
Destructor. More... | |
Threshold-based filter.
Definition at line 108 of file RBGen_Filter.hpp.
|
inline |
Default constructor.
The threshold definition depends on which:
cand
passes the filter if cand
passes the filter if where tval
depends on absthresh:
false:
true:
Definition at line 124 of file RBGen_Filter.hpp.
|
inlinevirtual |
Destructor.
Definition at line 133 of file RBGen_Filter.hpp.
|
inlinevirtual |
Return an index for the singular values falling within the threshold.
Implements RBGen::Filter< ScalarType >.
Definition at line 144 of file RBGen_Filter.hpp.