Tabulated kernel. More...
#include <Kernels.h>
Public Types | |
using | view_type = TabulatedKernelView< T > |
A non-owning kernel view type that can be passed to device code. | |
Public Types inherited from isce3::cuda::core::Kernel< T, TabulatedKernel< T > > | |
using | value_type = T |
Kernel coefficients value type. | |
Public Member Functions | |
template<class OtherKernel > | |
TabulatedKernel (const OtherKernel &kernel, int n) | |
Construct a new TabulatedKernel object. More... | |
TabulatedKernel (const isce3::core::TabulatedKernel< T > &) | |
Construct from corresponding host kernel object. | |
CUDA_DEV T | operator() (double t) const |
Evaluate the kernel at a given location in [-halfwidth, halfwidth]. | |
Public Member Functions inherited from isce3::cuda::core::Kernel< T, TabulatedKernel< T > > | |
constexpr | Kernel (double width) noexcept |
Construct a new Kernel object. More... | |
constexpr double | halfwidth () const noexcept |
Get the halfwidth of the kernel. More... | |
constexpr double | width () const noexcept |
Get the width of the kernel. More... | |
CUDA_HOSTDEV T | operator() (double t) const |
Evaluate the kernel at a given location in [-halfwidth, halfwidth]. More... | |
Protected Member Functions | |
CUDA_DEV T | eval (double t) const |
Friends | |
class | TabulatedKernelView< T > |
Tabulated kernel.
isce3::cuda::core::TabulatedKernel< T >::TabulatedKernel | ( | const OtherKernel & | kernel, |
int | n | ||
) |
Construct a new TabulatedKernel object.
The input kernel is assumed to be even.
[in] | kernel | Kernel to sample |
[in] | n | Table size |