![]() |
|
00001 /* 00002 * Copyright (c) 2002, 2009 Jens Keiner, Stefan Kunis, Daniel Potts 00003 * 00004 * This program is free software; you can redistribute it and/or modify it under 00005 * the terms of the GNU General Public License as published by the Free Software 00006 * Foundation; either version 2 of the License, or (at your option) any later 00007 * version. 00008 * 00009 * This program is distributed in the hope that it will be useful, but WITHOUT 00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00011 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 00012 * details. 00013 * 00014 * You should have received a copy of the GNU General Public License along with 00015 * this program; if not, write to the Free Software Foundation, Inc., 51 00016 * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 */ 00018 00019 /* $Id: legendre.h 3100 2009-03-12 08:42:48Z keiner $ */ 00020 00029 #ifndef LEGENDRE_H 00030 #define LEGENDRE_H 00031 00032 #include "infft.h" 00033 00038 void alpha_al_row(R *alpha, const int N, const int n); 00039 void beta_al_row(R *beta, const int N, const int n); 00040 void gamma_al_row(R *gamma, const int N, const int n); 00041 00051 void alpha_al_all(R *alpha, const int N); 00052 00062 void beta_al_all(R *beta, const int N); 00063 00073 void gamma_al_all(R *gamma, const int N); 00074 00090 void eval_al(R *x, R *y, const int size, const int k, R *alpha, 00091 R *beta, R *gamma); 00092 00109 int eval_al_thresh(R *x, R *y, const int size, const int k, R *alpha, 00110 R *beta, R *gamma, R threshold); 00111 /* \} */ 00112 #endif