pub struct AllPhase2D { /* private fields */ }Expand description
All-phase interpolation of order n: the result is the average, over all n alignments of an
n-sample window that contains the query point, of the sinc interpolation computed inside that
window. A sample at distance d from the query lies in n - |d| of those windows, so the
averaged kernel is sinc(d) (1 - |d|/n) for |d| < n (a triangular taper, the convolution of
two rectangular windows). Compared with a hard truncation of the sinc this suppresses the
ringing caused by window edges. Applied separably; weights are renormalised along each axis.
Implementations§
Trait Implementations§
Source§impl Clone for AllPhase2D
impl Clone for AllPhase2D
Source§impl Debug for AllPhase2D
impl Debug for AllPhase2D
Source§impl Interpolation2D for AllPhase2D
impl Interpolation2D for AllPhase2D
Auto Trait Implementations§
impl Freeze for AllPhase2D
impl RefUnwindSafe for AllPhase2D
impl Send for AllPhase2D
impl Sync for AllPhase2D
impl Unpin for AllPhase2D
impl UnsafeUnpin for AllPhase2D
impl UnwindSafe for AllPhase2D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more