isce3 0.25.0
|
Abstract base class for all kernels. More...
#include <Kernels.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
Kernel (double width) | |
virtual | ~Kernel () |
Virtual destructor (allow destruction of base Kernel pointer) | |
virtual T | operator() (double x) const =0 |
Evaluate kernel at given location in [-halfwidth, halfwidth]. | |
double | width () const |
Get width of kernel. | |
Protected Attributes | |
double | _halfwidth |
Abstract base class for all kernels.
Basically just a closure around an arbitrary function and a width property. Template parameter T defines type for coefficients, typically float or double.
|
pure virtual |
Evaluate kernel at given location in [-halfwidth, halfwidth].
Implemented in isce3::core::AzimuthKernel< T >, isce3::core::BartlettKernel< T >, isce3::core::ChebyKernel< T >, isce3::core::KnabKernel< T >, isce3::core::NFFTKernel< T >, and isce3::core::TabulatedKernel< T >.
|
inline |
Get width of kernel.
Units are the same as are used for calls to operator().