| 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 | #ifndef _COSPMLS_H | 
| 39 | #define _COSPMLS_H | 
| 40 |  | 
| 41 | #ifdef __cplusplus | 
| 42 | extern "C" { | 
| 43 | #endif /* __cplusplus */ | 
| 44 |  | 
| 45 | extern int TableSize( int , | 
| 46 | int ) ; | 
| 47 |  | 
| 48 | extern int Spharmonic_TableSize( int ) ; | 
| 49 |  | 
| 50 | extern int Reduced_SpharmonicTableSize( int , | 
| 51 | int ) ; | 
| 52 |  | 
| 53 | extern int Reduced_Naive_TableSize( int , | 
| 54 | int ) ; | 
| 55 |  | 
| 56 | extern int NewTableOffset( int , | 
| 57 | int ) ; | 
| 58 |  | 
| 59 | extern void CosPmlTableGen( int , | 
| 60 | int , | 
| 61 | double * , | 
| 62 | double * ) ; | 
| 63 |  | 
| 64 | extern int RowSize( int , | 
| 65 | int ) ; | 
| 66 |  | 
| 67 | extern int Transpose_RowSize( int , | 
| 68 | int , | 
| 69 | int ) ; | 
| 70 |  | 
| 71 | extern void Transpose_CosPmlTableGen( int , | 
| 72 | int , | 
| 73 | double * , | 
| 74 | double * ) ; | 
| 75 |  | 
| 76 | extern double **Spharmonic_Pml_Table( int , | 
| 77 | double * , | 
| 78 | double * ) ; | 
| 79 |  | 
| 80 | extern double **Transpose_Spharmonic_Pml_Table( double ** , | 
| 81 | int , | 
| 82 | double * , | 
| 83 | double * ) ; | 
| 84 |  | 
| 85 | extern double **SemiNaive_Naive_Pml_Table( int , | 
| 86 | int , | 
| 87 | double * , | 
| 88 | double * ) ; | 
| 89 |  | 
| 90 | extern double **Transpose_SemiNaive_Naive_Pml_Table( double ** , | 
| 91 | int , | 
| 92 | int , | 
| 93 | double * , | 
| 94 | double * ) ; | 
| 95 |  | 
| 96 | #ifdef __cplusplus | 
| 97 | } | 
| 98 | #endif /* __cplusplus */ | 
| 99 |  | 
| 100 | #endif | 
| 101 |  |