![]() |
NFFT
3.3.2
|
00001 /* 00002 * Copyright (c) 2002, 2016 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 00027 #ifndef LEGENDRE_H 00028 #define LEGENDRE_H 00029 00030 #include "infft.h" 00031 00036 void alpha_al_row(R *alpha, const int N, const int n); 00037 void beta_al_row(R *beta, const int N, const int n); 00038 void gamma_al_row(R *gamma, const int N, const int n); 00039 00049 void alpha_al_all(R *alpha, const int N); 00050 00060 void beta_al_all(R *beta, const int N); 00061 00071 void gamma_al_all(R *gamma, const int N); 00072 00088 void eval_al(R *x, R *y, const int size, const int k, R *alpha, 00089 R *beta, R *gamma); 00090 00107 int eval_al_thresh(R *x, R *y, const int size, const int k, R *alpha, 00108 R *beta, R *gamma, R threshold); 00109 /* \} */ 00110 #endif