#include <CoordinateSelector.h>
Public Member Functions | |
CoordinateSelector (const unsigned i) | |
unsigned | maxDim () const |
unsigned | minDim () const |
double | operator() (const double *point, const unsigned dim) const |
Public Member Functions inherited from npstat::AbsMultivariateFunctor | |
virtual | ~AbsMultivariateFunctor () |
Private Member Functions | |
CoordinateSelector () | |
Private Attributes | |
unsigned | index_ |
A trivial implementation of AbsMultivariateFunctor which selects an element with a certain index from the input array
Definition at line 25 of file CoordinateSelector.h.
|
inlineexplicit |
Definition at line 28 of file CoordinateSelector.h.
|
private |
|
inlinevirtual |
Maximum expected dimensionality (will typically be equal to the minimum)
Reimplemented from npstat::AbsMultivariateFunctor.
Definition at line 39 of file CoordinateSelector.h.
|
inlinevirtual |
Minimum expected dimensionality
Implements npstat::AbsMultivariateFunctor.
Definition at line 38 of file CoordinateSelector.h.
References index_.
|
inlinevirtual |
Function value
Implements npstat::AbsMultivariateFunctor.
Definition at line 30 of file CoordinateSelector.h.
References index_.
|
private |
Definition at line 43 of file CoordinateSelector.h.
Referenced by minDim(), and operator()().