| 1 |
/*************************************************************************** |
| 2 |
************************************************************************** |
| 3 |
|
| 4 |
S2kit 1.0 |
| 5 |
|
| 6 |
A lite version of Spherical Harmonic Transform Kit |
| 7 |
|
| 8 |
Peter Kostelec, Dan Rockmore |
| 9 |
{geelong,rockmore}@cs.dartmouth.edu |
| 10 |
|
| 11 |
Contact: Peter Kostelec |
| 12 |
geelong@cs.dartmouth.edu |
| 13 |
|
| 14 |
Copyright 2004 Peter Kostelec, Dan Rockmore |
| 15 |
|
| 16 |
This file is part of S2kit. |
| 17 |
|
| 18 |
S2kit is free software; you can redistribute it and/or modify |
| 19 |
it under the terms of the GNU General Public License as published by |
| 20 |
the Free Software Foundation; either version 2 of the License, or |
| 21 |
(at your option) any later version. |
| 22 |
|
| 23 |
S2kit is distributed in the hope that it will be useful, |
| 24 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 25 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 26 |
GNU General Public License for more details. |
| 27 |
|
| 28 |
You should have received a copy of the GNU General Public License |
| 29 |
along with S2kit; if not, write to the Free Software |
| 30 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 31 |
|
| 32 |
See the accompanying LICENSE file for details. |
| 33 |
|
| 34 |
************************************************************************ |
| 35 |
************************************************************************/ |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
/* external interface for FST_semi_memo.c */ |
| 40 |
|
| 41 |
#ifndef _FSTSEMI_MEMO_H |
| 42 |
#define _FSTSEMI_MEMO_H |
| 43 |
|
| 44 |
#ifdef __cplusplus |
| 45 |
extern "C" { |
| 46 |
#endif /* __cplusplus */ |
| 47 |
|
| 48 |
#define compmult(a,b,c,d,e,f) (e) = ((a)*(c))-((b)*(d)); (f) = ((a)*(d))+((b)*(c)) |
| 49 |
|
| 50 |
extern int seanindex( int , |
| 51 |
int , |
| 52 |
int ); |
| 53 |
|
| 54 |
extern void FST_semi_memo( double *, double *, |
| 55 |
double *, double *, |
| 56 |
int , double **, |
| 57 |
double *, |
| 58 |
int , |
| 59 |
int , |
| 60 |
fftw_plan *, |
| 61 |
fftw_plan *, |
| 62 |
double * ); |
| 63 |
|
| 64 |
extern void InvFST_semi_memo(double *, double *, |
| 65 |
double *, double *, |
| 66 |
int , |
| 67 |
double **, |
| 68 |
double *, |
| 69 |
int , |
| 70 |
int , |
| 71 |
fftw_plan *, |
| 72 |
fftw_plan * ); |
| 73 |
|
| 74 |
extern void FZT_semi_memo( double *, double *, |
| 75 |
double *, double *, |
| 76 |
int , |
| 77 |
double *, |
| 78 |
double *, |
| 79 |
int, |
| 80 |
fftw_plan *, |
| 81 |
double * ) ; |
| 82 |
|
| 83 |
extern void TransMult( double *, double *, |
| 84 |
double *, double *, |
| 85 |
double *, double *, |
| 86 |
int ); |
| 87 |
|
| 88 |
extern void Conv2Sphere_semi_memo( double *, double *, |
| 89 |
double *, double *, |
| 90 |
double *, double *, |
| 91 |
int , |
| 92 |
double *); |
| 93 |
|
| 94 |
#ifdef __cplusplus |
| 95 |
} |
| 96 |
#endif /* __cplusplus */ |
| 97 |
|
| 98 |
#endif /* _FSTSEMI_MEMO_H */ |