Download Compressed
tar-file
or
hilbert.c and
hilbert.h
#include "hilbert.h"and then call hilbert() to perform the transform.
The input data are in delta and the call hilbert(n, delta, kappa) will return the Hilbert transform of delta in kappa.
n and delta are not modified.
If you use a makefile and this makefile looks like this
a.out: a.o b.o c.o cc a.o b.o c.o ... a.o: a.c d.h cc -c a.c ...and you use the package in a.c, change the makefile to look like this
a.out: a.o b.o c.o hilbert.o cc a.o b.o c.o hilbert.o ... a.o: a.c d.h hilbert.h cc -c a.c ... hilbert.o: hilbert.c hilbert.h cc -c hilbert.c
Output from the program is a table.