Skip to contents

A step of the mafft_native implementation. Called by correlation. See the file header for the source the module follows.

Usage

mafft_xcorr_fft(a, b)

Arguments

a

A vector; its length is taken.

b

A vector; its length is taken.

Value

A list with c, size.

Examples

mafft_xcorr_fft(c(1, 2, 3), c(0, 1, 0.5))$c
#> [1]  3.500000e+00  2.000000e+00  5.000000e-01  8.881784e-16  4.440892e-16
#> [6]  0.000000e+00 -5.551115e-17  3.000000e+00