| 1 | #ifndef __CHEBY_H_ |
| 2 | #define __CHEBY_H_ |
| 3 | |
| 4 | #include "tbl.h" |
| 5 | |
| 6 | using namespace Lorene ; |
| 7 | |
| 8 | // Returns T_n(x) |
| 9 | double cheby (int n, double x) ; |
| 10 | |
| 11 | // Norme of T_n |
| 12 | double norme_cheb (int n) ; |
| 13 | |
| 14 | // Returns n colocation points : |
| 15 | Tbl coloc_cheb(int n) ; |
| 16 | |
| 17 | // Returns the n weight functions |
| 18 | Tbl weight_cheb(int) ; |
| 19 | |
| 20 | // Normalisation of T_n |
| 21 | Tbl gamma_cheb (int) ; |
| 22 | |
| 23 | // Computes the coefficients where so is the value at colocation points... |
| 24 | Tbl coef_cheb (const Tbl& so) ; |
| 25 | |
| 26 | #endif |
| 27 |