NFFT Logo 3.0 API Reference
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

ndft_fast.c File Reference

Testing ndft, Horner-like ndft, and fully precomputed ndft. More...

#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <complex.h>
#include "util.h"
#include "nfft3.h"

Go to the source code of this file.

Functions

void ndft_horner_trafo (nfft_plan *ths)
void ndft_pre_full_trafo (nfft_plan *ths, double complex *A)
void ndft_pre_full_init (nfft_plan *ths, double complex *A)
void ndft_time (int N, int M, unsigned test_ndft, unsigned test_pre_full)
int main (int argc, char **argv)


Detailed Description

Testing ndft, Horner-like ndft, and fully precomputed ndft.

Author:
Stefan Kunis

Definition in file ndft_fast.c.


Function Documentation

void ndft_time int  N,
int  M,
unsigned  test_ndft,
unsigned  test_pre_full
 

init pseudo random nodes

init pseudo random Fourier coefficients

NDFT

Horner NDFT

Fully precomputed NDFT

Definition at line 63 of file ndft_fast.c.

References nfft_plan::f_hat, nfft_plan::M_total, nfft_plan::N_total, ndft_horner_trafo(), ndft_pre_full_init(), ndft_pre_full_trafo(), ndft_trafo(), nfft_finalize(), nfft_init_1d(), nfft_second(), nfft_trafo(), nfft_vrand_shifted_unit_double(), nfft_vrand_unit_complex(), and nfft_plan::x.

Referenced by main().


Generated on 1 Nov 2006 by Doxygen 1.4.4