Return number of elapsed seconds between two time points.
R
nfft_sinc (R x)
R
nfft_lambda (R z, R eps)
R
nfft_lambda2 (R mu, R nu)
R
nfft_bessel_i0 (R x)
R
nfft_bsplines (const INT, const R x)
R
nfft_float_property (float_property)
R
nfft_prod_real (R *vec, INT d)
INT
nfft_log2i (const INT m)
void
nfft_next_power_of_2_exp (const INT N, INT *N2, INT *t)
void
nfft_next_power_of_2_exp_int (const int N, int *N2, int *t)
R
nfft_error_l_infty_double (const R *x, const R *y, const INT n)
R
nfft_error_l_infty_1_double (const R *x, const R *y, const INT n, const R *z, const INT m)
R
nfft_error_l_2_complex (const C *x, const C *y, const INT n)
R
nfft_error_l_2_double (const R *x, const R *y, const INT n)
void
nfft_sort_node_indices_radix_msdf (INT n, INT *keys0, INT *keys1, INT rhigh)
void
nfft_sort_node_indices_radix_lsdf (INT n, INT *keys0, INT *keys1, INT rhigh)
void
nfft_assertion_failed (const char *s, int line, const char *file)
R
nfft_dot_double (R *x, INT n)
Computes the inner/dot product .
R
nfft_dot_w_complex (C *x, R *w, INT n)
Computes the weighted inner/dot product .
R
nfft_dot_w_double (R *x, R *w, INT n)
Computes the weighted inner/dot product .
R
nfft_dot_w_w2_complex (C *x, R *w, R *w2, INT n)
Computes the weighted inner/dot product .
R
nfft_dot_w2_complex (C *x, R *w2, INT n)
Computes the weighted inner/dot product .
void
nfft_cp_complex (C *x, C *y, INT n)
Copies .
void
nfft_cp_double (R *x, R *y, INT n)
Copies .
void
nfft_cp_a_complex (C *x, R a, C *y, INT n)
Copies .
void
nfft_cp_a_double (R *x, R a, R *y, INT n)
Copies .
void
nfft_cp_w_complex (C *x, R *w, C *y, INT n)
Copies .
void
nfft_cp_w_double (R *x, R *w, R *y, INT n)
Copies .
void
nfft_upd_axpy_double (R *x, R a, R *y, INT n)
Updates .
void
nfft_upd_xpay_complex (C *x, R a, C *y, INT n)
Updates .
void
nfft_upd_xpay_double (R *x, R a, R *y, INT n)
Updates .
void
nfft_upd_axpby_complex (C *x, R a, C *y, R b, INT n)
Updates .
void
nfft_upd_axpby_double (R *x, R a, R *y, R b, INT n)
Updates .
void
nfft_upd_xpawy_complex (C *x, R a, R *w, C *y, INT n)
Updates .
void
nfft_upd_xpawy_double (R *x, R a, R *w, R *y, INT n)
Updates .
void
nfft_upd_axpwy_complex (C *x, R a, R *w, C *y, INT n)
Updates .
void
nfft_upd_axpwy_double (R *x, R a, R *w, R *y, INT n)
Updates .
void
nfft_voronoi_weights_1d (R *w, R *x, const INT M)
R
nfft_modified_fejer (const INT N, const INT kk)
Compute damping factor for modified Fejer kernel: /f$\frac{2}{N}\left(1-\frac{\left|2k+1\right|}{N}\right)/f$.
R
nfft_modified_jackson2 (const INT N, const INT kk)
Compute damping factor for modified Jackson kernel.
R
nfft_modified_jackson4 (const INT N, const INT kk)
Compute damping factor for modified generalised Jackson kernel.
R
nfft_modified_sobolev (const R mu, const INT kk)
Compute damping factor for modified Sobolev kernel.
R
nfft_modified_multiquadric (const R mu, const R c, const INT kk)
Comput damping factor for modified multiquadric kernel.
Detailed Description
This module implements frequently used utility functions.
In particular, this includes simple measurement of resources, evaluation of window functions, vector routines for basic linear algebra tasks, and computation of weights for the inverse transforms.
Timing, method works since the inaccurate timer is updated mostly in the measured function.
For small times not every call of the measured function will also produce a 'unit' time step. Measuring the fftw might cause a wrong output vector due to the repeated ffts.