pub trait CrossCorrelationArgumentOps<S, T>: ToFreqResult
where S: ToSliceMut<T>, T: RealNumber,
{ // Required methods fn prepare_argument<B>(self, buffer: &mut B) -> Self::FreqResult where B: for<'a> Buffer<'a, S, T>; fn prepare_argument_padded<B>(self, buffer: &mut B) -> Self::FreqResult where B: for<'a> Buffer<'a, S, T>; }
Expand description

This trait allows to transform an argument so that it can be used for cross correlation. Refer to the description of CrossCorrelationOps for more details.

Required Methods§

source

fn prepare_argument<B>(self, buffer: &mut B) -> Self::FreqResult
where B: for<'a> Buffer<'a, S, T>,

Prepares an argument to be used for convolution. Preparing an argument includes two steps:

  1. Calculate the plain FFT
  2. Calculate the complex conjugate
source

fn prepare_argument_padded<B>(self, buffer: &mut B) -> Self::FreqResult
where B: for<'a> Buffer<'a, S, T>,

Prepares an argument to be used for convolution. The argument is zero padded to length of 2 * self.points() - 1 and then the same operations are performed as described for prepare_argument.

Object Safety§

This trait is not object safe.

Implementors§