Abstract 1D map between two types (read spaces). More...
#include <vnl_fwd.h>

Public Member Functions | |
| virtual Return | f (Argument const &i)=0 |
| Apply the function. More... | |
| virtual Return | get_range_min () const |
| Return bounding cube of range (outputs). More... | |
| virtual Return | get_range_max () const |
| Return bounding cube of range (outputs). More... | |
| virtual vnl_unary_function< Return, Argument > * | Copy () const |
| Copy should allocate a copy of this on the heap and return it. More... | |
| virtual | ~vnl_unary_function ()=default |
Abstract 1D map between two types (read spaces).
|
virtualdefault |
|
inlinevirtual |
Copy should allocate a copy of this on the heap and return it.
If Subclasses do not implement this function, it will return null, but many applications will never call it, so this may not be a problem for you.
Reimplemented in vnl_identity< T >.
Definition at line 44 of file vnl_unary_function.h.
|
pure virtual |
Apply the function.
The name is "f" rather than operator(), as the function will generally be called through a pointer. Note that the function is NOT const when you subclass.
Implemented in vnl_amoeba_LSCF, vnl_powell_1dfun, vnl_cost_function, vnl_identity< T >, and vnl_least_squares_cost_function.
|
virtual |
Return bounding cube of range (outputs).
Definition at line 36 of file vnl_unary_function.hxx.
|
virtual |
Return bounding cube of range (outputs).
Definition at line 29 of file vnl_unary_function.hxx.
1.8.15