#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 |
virtual | ~CoordinateSelector () |
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.
|
inlinevirtual |
Definition at line 30 of file CoordinateSelector.h.
|
private |
|
inlinevirtual |
Maximum expected dimensionality (will typically be equal to the minimum)
Reimplemented from npstat::AbsMultivariateFunctor.
Definition at line 41 of file CoordinateSelector.h.
|
inlinevirtual |
Minimum expected dimensionality
Implements npstat::AbsMultivariateFunctor.
Definition at line 40 of file CoordinateSelector.h.
References index_.
|
inlinevirtual |
Function value
Implements npstat::AbsMultivariateFunctor.
Definition at line 32 of file CoordinateSelector.h.
References index_.
|
private |
Definition at line 45 of file CoordinateSelector.h.
Referenced by minDim(), and operator()().