3
<title>Chebyshev Series Evaluation - GNU Scientific Library -- Reference Manual</title>
4
<meta http-equiv="Content-Type" content="text/html">
5
<meta name="description" content="GNU Scientific Library -- Reference Manual">
6
<meta name="generator" content="makeinfo 4.8">
7
<link title="Top" rel="start" href="index.html#Top">
8
<link rel="up" href="Chebyshev-Approximations.html#Chebyshev-Approximations" title="Chebyshev Approximations">
9
<link rel="prev" href="Creation-and-Calculation-of-Chebyshev-Series.html#Creation-and-Calculation-of-Chebyshev-Series" title="Creation and Calculation of Chebyshev Series">
10
<link rel="next" href="Derivatives-and-Integrals.html#Derivatives-and-Integrals" title="Derivatives and Integrals">
11
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
13
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 The GSL Team.
15
Permission is granted to copy, distribute and/or modify this document
16
under the terms of the GNU Free Documentation License, Version 1.2 or
17
any later version published by the Free Software Foundation; with the
18
Invariant Sections being ``GNU General Public License'' and ``Free Software
19
Needs Free Documentation'', the Front-Cover text being ``A GNU Manual'',
20
and with the Back-Cover Text being (a) (see below). A copy of the
21
license is included in the section entitled ``GNU Free Documentation
24
(a) The Back-Cover Text is: ``You have freedom to copy and modify this
25
GNU Manual, like GNU software.''-->
26
<meta http-equiv="Content-Style-Type" content="text/css">
27
<style type="text/css"><!--
28
pre.display { font-family:inherit }
29
pre.format { font-family:inherit }
30
pre.smalldisplay { font-family:inherit; font-size:smaller }
31
pre.smallformat { font-family:inherit; font-size:smaller }
32
pre.smallexample { font-size:smaller }
33
pre.smalllisp { font-size:smaller }
34
span.sc { font-variant:small-caps }
35
span.roman { font-family:serif; font-weight:normal; }
36
span.sansserif { font-family:sans-serif; font-weight:normal; }
42
<a name="Chebyshev-Series-Evaluation"></a>
43
Next: <a rel="next" accesskey="n" href="Derivatives-and-Integrals.html#Derivatives-and-Integrals">Derivatives and Integrals</a>,
44
Previous: <a rel="previous" accesskey="p" href="Creation-and-Calculation-of-Chebyshev-Series.html#Creation-and-Calculation-of-Chebyshev-Series">Creation and Calculation of Chebyshev Series</a>,
45
Up: <a rel="up" accesskey="u" href="Chebyshev-Approximations.html#Chebyshev-Approximations">Chebyshev Approximations</a>
49
<h3 class="section">28.3 Chebyshev Series Evaluation</h3>
52
— Function: double <b>gsl_cheb_eval</b> (<var>const gsl_cheb_series * cs, double x</var>)<var><a name="index-gsl_005fcheb_005feval-2025"></a></var><br>
53
<blockquote><p>This function evaluates the Chebyshev series <var>cs</var> at a given point <var>x</var>.
54
</p></blockquote></div>
57
— Function: int <b>gsl_cheb_eval_err</b> (<var>const gsl_cheb_series * cs, const double x, double * result, double * abserr</var>)<var><a name="index-gsl_005fcheb_005feval_005ferr-2026"></a></var><br>
58
<blockquote><p>This function computes the Chebyshev series <var>cs</var> at a given point
59
<var>x</var>, estimating both the series <var>result</var> and its absolute error
60
<var>abserr</var>. The error estimate is made from the first neglected term
62
</p></blockquote></div>
65
— Function: double <b>gsl_cheb_eval_n</b> (<var>const gsl_cheb_series * cs, size_t order, double x</var>)<var><a name="index-gsl_005fcheb_005feval_005fn-2027"></a></var><br>
66
<blockquote><p>This function evaluates the Chebyshev series <var>cs</var> at a given point
67
<var>n</var>, to (at most) the given order <var>order</var>.
68
</p></blockquote></div>
71
— Function: int <b>gsl_cheb_eval_n_err</b> (<var>const gsl_cheb_series * cs, const size_t order, const double x, double * result, double * abserr</var>)<var><a name="index-gsl_005fcheb_005feval_005fn_005ferr-2028"></a></var><br>
72
<blockquote><p>This function evaluates a Chebyshev series <var>cs</var> at a given point
73
<var>x</var>, estimating both the series <var>result</var> and its absolute error
74
<var>abserr</var>, to (at most) the given order <var>order</var>. The error
75
estimate is made from the first neglected term in the series.
76
</p></blockquote></div>
78
<!-- @deftypefun double gsl_cheb_eval_mode (const gsl_cheb_series * @var{cs}, double @var{x}, gsl_mode_t @var{mode}) -->
79
<!-- @end deftypefun -->
80
<!-- @deftypefun int gsl_cheb_eval_mode_err (const gsl_cheb_series * @var{cs}, const double @var{x}, gsl_mode_t @var{mode}, double * @var{result}, double * @var{abserr}) -->
81
<!-- Evaluate a Chebyshev series at a given point, using the default -->
82
<!-- order for double precision mode(s) and the single precision -->
83
<!-- order for other modes. -->
84
<!-- @end deftypefun -->