Debian Codegraph @

dwsys/FunctionSeries.h

raw symbols SCIP
1 #cxx . . $ `<file>/dwsys/FunctionSeries.h`/ifndef _FunctionSeries_h_
2 #define _FunctionSeries_h_cxx . . $ `dwsys/FunctionSeries.h:2:9`!
3 /* FunctionSeries.h
4 *
5 * Copyright (C) 1993-2021 David Weenink
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 /*
22 djmw 20020813 GPL header
23 djmw 20110306 Latest modification.
24 */
25
26 #include "Function.h"cxx . . $ `<file>/fon/Function.h`/
27 #include "Graphics.h"cxx . . $ `<file>/sys/Graphics.h`/
28
29 #include "FunctionSeries_def.h"cxx . . $ `<file>/dwsys/FunctionSeries_def.h`/
30
31 void FunctionSeries_initcxx . . $ FunctionSeries_init(421c74ba8b5a8d9). (FunctionSeriescxx . . $ FunctionSeries# me, double xmin, double xmax, integercxx . . $ integer# numberOfCoefficients);
32
33 void FunctionSeries_initWithCoefficientscxx . . $ FunctionSeries_initWithCoefficients(1bec5b455a00e302). (FunctionSeriescxx . . $ FunctionSeries# me, double xmin, double xmax, constVECVUcxx . . $ constVECVU# const& coefficients, bool allowTrailingZeros);
34
35 autoFunctionSeriescxx . . $ autoFunctionSeries# FunctionSeries_createcxx . . $ FunctionSeries_create(2881c019678ef6de). (double xmin, double xmax, integercxx . . $ integer# numberOfCoefficients);
36
37 void FunctionSeries_setDomaincxx . . $ FunctionSeries_setDomain(b59ca3cf33084f6f). (FunctionSeriescxx . . $ FunctionSeries# me, double xmin, double xmax);
38
39 void FunctionSeries_setCoefficientcxx . . $ FunctionSeries_setCoefficient(52e2c46cb2df742d). (FunctionSeriescxx . . $ FunctionSeries# me, integercxx . . $ integer# index, double value);
40
41 double FunctionSeries_evaluatecxx . . $ FunctionSeries_evaluate(edaf2589c46ec50f). (FunctionSeriescxx . . $ FunctionSeries# me, double x);
42
43 void FunctionSeries_evaluateTermscxx . . $ FunctionSeries_evaluateTerms(e6566cd39caaad45). (FunctionSeriescxx . . $ FunctionSeries# me, double x, VECcxx . . $ VEC# terms);
44
45 void FunctionSeries_getExtremacxx . . $ FunctionSeries_getExtrema(e708ecf6762f71f6). (FunctionSeriescxx . . $ FunctionSeries# me, double x1, double x2, double *xmin, double *ymin, double *xmax, double *ymax);
46
47 integercxx . . $ integer# FunctionSeries_getDegreecxx . . $ FunctionSeries_getDegree(7a71d4389871b4de). (FunctionSeriescxx . . $ FunctionSeries# me);
48
49 double FunctionSeries_getMinimumcxx . . $ FunctionSeries_getMinimum(da64249f0161698f). (FunctionSeriescxx . . $ FunctionSeries# me, double x1, double x2);
50
51 double FunctionSeries_getXOfMinimumcxx . . $ FunctionSeries_getXOfMinimum(da64249f0161698f). (FunctionSeriescxx . . $ FunctionSeries# me, double x1, double x2);
52
53 double FunctionSeries_getMaximumcxx . . $ FunctionSeries_getMaximum(da64249f0161698f). (FunctionSeriescxx . . $ FunctionSeries# me, double x1, double x2);
54
55 double FunctionSeries_getXOfMaximumcxx . . $ FunctionSeries_getXOfMaximum(da64249f0161698f). (FunctionSeriescxx . . $ FunctionSeries# me, double x1, double x2);
56 /*
57 Returns minimum and maximum function values (ymin, ymax) in
58 interval [x1, x2] and their x-values (xmin, xmax).
59 Precondition: [x1, x2] is a (sub)domain
60 my xmin <= x1 < x2 <= my xmax
61 */
62
63 void FunctionSeries_drawcxx . . $ FunctionSeries_draw(b2da1ae81449e92). (FunctionSeriescxx . . $ FunctionSeries# me, Graphicscxx . . $ Graphics# g, double xmin, double xmax, double ymin, double ymax,
64 int extrapolate, bool garnish);
65 /*
66 Extrapolate only for functions whose domain is extendable and that can be extrapolated.
67 Polynomials can be extrapolated.
68 LegendreSeries and ChebyshevSeries cannot be extrapolated.
69 */
70 void FunctionSeries_drawBasisFunctioncxx . . $ FunctionSeries_drawBasisFunction(f6ad16e04dcc6d9c). (FunctionSeriescxx . . $ FunctionSeries# me, Graphicscxx . . $ Graphics# g, integercxx . . $ integer# index, double xmin, double xmax,
71 double ymin, double ymax, int extrapolate, bool garnish);
72
73 #endif /* _FunctionSeries_h_ */