| 1 | #cxx . . $ `<file>/dwsys/LegendreSeries.h`/ifndef _LegendreSeries_h_ |
| 2 | #define _LegendreSeries_h_cxx . . $ `dwsys/LegendreSeries.h:2:9`! |
| 3 | /* LegendreSeries.h |
| 4 | * |
| 5 | * Copyright (C) 2020 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 | #include "FunctionSeries.h"cxx . . $ `<file>/dwsys/FunctionSeries.h`/ |
| 23 | #include "Polynomial.h"cxx . . $ `<file>/dwsys/Polynomial.h`/ |
| 24 | |
| 25 | Thing_definecxx . . $ LegendreSeriesHandle# (LegendreSeries, FunctionSeries) { |
| 26 | // overridden methods: |
| 27 | public: |
| 28 | virtual double v_evaluatecxx . . $ structLegendreSeries#v_evaluate(447c67c6676f75c3). (double x); |
| 29 | virtual void v_evaluateTermscxx . . $ structLegendreSeries#v_evaluateTerms(c7d2ecbf502d4cf4). (double x, VECcxx . . $ VEC# terms); |
| 30 | virtual void v_getExtremacxx . . $ structLegendreSeries#v_getExtrema(a54784ab049e7c7d). (double x1, double x2, double *xmin, double *ymin, double *xmax, double *ymax); |
| 31 | }; |
| 32 | |
| 33 | autoLegendreSeriescxx . . $ autoLegendreSeries# LegendreSeries_createcxx . . $ LegendreSeries_create(8b24ab7125498910). (double xmin, double xmax, integercxx . . $ integer# numberOfPolynomials); |
| 34 | |
| 35 | autoLegendreSeriescxx . . $ autoLegendreSeries# LegendreSeries_createWithCoefficientscxx . . $ LegendreSeries_createWithCoefficients(c7bbc40308a62043). (double xmin, double xmax, constVECVUcxx . . $ constVECVU# const& coefficients); |
| 36 | |
| 37 | autoLegendreSeriescxx . . $ autoLegendreSeries# LegendreSeries_getDerivativecxx . . $ LegendreSeries_getDerivative(e3d92eb9f8cd9f10). (LegendreSeriescxx . . $ LegendreSeries# me); |
| 38 | |
| 39 | autoPolynomialcxx . . $ autoPolynomial# LegendreSeries_to_Polynomialcxx . . $ LegendreSeries_to_Polynomial(8a88b583f10ad7c8). (LegendreSeriescxx . . $ LegendreSeries# me); |
| 40 | |
| 41 | #endif /* _LegendreSeries_h_ */ |