1 #ifndef _CHEBYSHEV\r
2 #define _CHEBYSHEV\r
3 \r
4 #include <2geom/sbasis.h>\r
5 #include <2geom/interval.h>\r
6 \r
7 /*** Conversion between Chebyshev approximation and SBasis.\r
8 * \r
9 */\r
10 \r
11 namespace Geom{\r
12 \r
13 SBasis chebyshev_approximant (double (*f)(double,void*), int order, Interval in, void* p=0);\r
14 SBasis chebyshev_approximant_interpolating (double (*f)(double,void*), int order, Interval in, void* p=0);\r
15 SBasis chebyshev(unsigned n);\r
16 \r
17 };\r
18 \r
19 /*\r
20 Local Variables:\r
21 mode:c++\r
22 c-file-style:"stroustrup"\r
23 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
24 indent-tabs-mode:nil\r
25 fill-column:99\r
26 End:\r
27 */\r
28 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :\r
29 \r
30 #endif\r