Gromacs
2024.4
|
#include "gromacs/utility/real.h"
Declares routine for computing a cross correlation between two data sets.
Functions | |
void | cross_corr (int n, real f[], real g[], real corr[]) |
fft cross correlation algorithm. Computes corr = f (.) g More... | |
void | many_cross_corr (int nFunc, int *nData, real **f, real **g, real **corr) |
fft cross correlation algorithm. More... | |
fft cross correlation algorithm. Computes corr = f (.) g
[in] | n | number of data point |
[in] | f | First function |
[in] | g | Second function |
[out] | corr | The cross correlation |
fft cross correlation algorithm.
Computes corr[n] = f[n]i g[n][i], that is for nFunc pairs of arrays n the cross correlation is computed in parallel using OpenMP.
[in] | nFunc | nuber of function to crosscorrelate |
[in] | nData | number of data point in eatch function |
[in] | f | 2D array of first function to crosscorrelate |
[in] | g | 2D array of second function to crosscorrelate |
[out] | corr | 2D array of the cross correlations |