R/mafft_native.R
mafft_xcorr_fft.Rd
A step of the mafft_native implementation. Called by correlation. See the file header for the source the module follows.
correlation
mafft_xcorr_fft(a, b)
A vector; its length is taken.
A list with c, size.
c
size
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