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