RBGen
Version of the Day
|
Class for selecting desired singular values. More...
#include <RBGen_Filter.hpp>
Public Member Functions | |
Constructor/Destructor. | |
Filter (SortType which=LARGEST) | |
Default constructor. More... | |
virtual | ~Filter () |
Destructor. More... | |
Filter Method | |
virtual std::vector< int > | filter (const std::vector< ScalarType > &svals)=0 |
Selects targetted singular values. More... | |
Class for selecting desired singular values.
Definition at line 22 of file RBGen_Filter.hpp.
|
inline |
Default constructor.
Definition at line 29 of file RBGen_Filter.hpp.
|
inlinevirtual |
Destructor.
Definition at line 32 of file RBGen_Filter.hpp.
|
pure virtual |
Selects targetted singular values.
This method accepts a list of singular values (in decreasing order, as returned by GESVD) and returns a list of indices consisting of the values allowed through the filter.
svals | [in] Singular values under consideration by the filter. |
Implemented in RBGen::CompFilter< ScalarType >, RBGen::ThreshFilter< ScalarType >, and RBGen::RangeFilter< ScalarType >.