#include <CoordinateSelector.h>
Public Member Functions | |
CoordinateSelector (const unsigned i) | |
CoordinateSelector ()=delete | |
unsigned | maxDim () const override |
unsigned | minDim () const override |
double | operator() (const double *point, const unsigned dim) const override |
~CoordinateSelector () override | |
Public Member Functions inherited from npstat::AbsMultivariateFunctor | |
virtual | ~AbsMultivariateFunctor () |
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 27 of file CoordinateSelector.h.
|
delete |
|
inlineoverride |
Definition at line 31 of file CoordinateSelector.h.
|
inlineoverridevirtual |
Maximum expected dimensionality (will typically be equal to the minimum)
Reimplemented from npstat::AbsMultivariateFunctor.
Definition at line 41 of file CoordinateSelector.h.
|
inlineoverridevirtual |
Minimum expected dimensionality
Implements npstat::AbsMultivariateFunctor.
Definition at line 40 of file CoordinateSelector.h.
References index_.
|
inlineoverridevirtual |
Function value
Implements npstat::AbsMultivariateFunctor.
Definition at line 33 of file CoordinateSelector.h.
References index_.
|
private |
Definition at line 44 of file CoordinateSelector.h.
Referenced by minDim(), and operator()().