fhtInitTables
[ XITE Reference Manual | XITE home ]
Name
fhtInitTables - initialize tables for fast Hartley transform
Syntax
#include <xite/fht.h>
int fhtInitTables( float* sinTab,
float* cosTab, int* perm, int size );
Description
Initializes the three tables sinTab, cosTab and perm.
The tables must be allocated by the caller, and have
size elements.
Restrictions
Size must be >= 2 and power of two
See also
fht1d(3), fht2d(3)
Return value
0 => ok
1 => bad size
Author
Tor Lønnestad, BLAB, Ifi, UiO
Revised
Svein Bøe, BLAB, Ifi, UiO
Id
$Id: fht2d.c,v 1.31 1997/05/27 14:48:35 svein Exp $