Skip to main content

dconv_weighted

Function dconv_weighted 

Source
pub(super) fn dconv_weighted(
    p: &[f64],
    d: &[Complex64],
    w2: &[f64],
    mbox: &Box3,
    fft: &mut Fft3dWorkspace,
    buf: &mut [Complex64],
)
Expand description

Dconv(w2.*Dconv(p)), left in the real part of buf. w2 is zero outside mbox, so the inner Dconv is computed only on mbox and the outer one reads input only there; the values are those of the two plain Dconvs (see [Fft3dWorkspace::fft3d_with]).