193 |
27 Oct 04 |
peter |
// $Id$ |
193 |
27 Oct 04 |
peter |
2 |
|
675 |
10 Oct 06 |
jari |
3 |
/* |
4359 |
23 Aug 23 |
peter |
Copyright (C) 2004, 2005, 2006 Jari Häkkinen, Peter Johansson |
4359 |
23 Aug 23 |
peter |
Copyright (C) 2007 Peter Johansson |
4359 |
23 Aug 23 |
peter |
Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
2919 |
19 Dec 12 |
peter |
Copyright (C) 2012 Peter Johansson |
193 |
27 Oct 04 |
peter |
8 |
|
1437 |
25 Aug 08 |
peter |
This file is part of the yat library, http://dev.thep.lu.se/yat |
193 |
27 Oct 04 |
peter |
10 |
|
675 |
10 Oct 06 |
jari |
The yat library is free software; you can redistribute it and/or |
675 |
10 Oct 06 |
jari |
modify it under the terms of the GNU General Public License as |
1486 |
09 Sep 08 |
jari |
published by the Free Software Foundation; either version 3 of the |
675 |
10 Oct 06 |
jari |
License, or (at your option) any later version. |
675 |
10 Oct 06 |
jari |
15 |
|
675 |
10 Oct 06 |
jari |
The yat library is distributed in the hope that it will be useful, |
675 |
10 Oct 06 |
jari |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
675 |
10 Oct 06 |
jari |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
675 |
10 Oct 06 |
jari |
General Public License for more details. |
675 |
10 Oct 06 |
jari |
20 |
|
675 |
10 Oct 06 |
jari |
You should have received a copy of the GNU General Public License |
1487 |
10 Sep 08 |
jari |
along with yat. If not, see <http://www.gnu.org/licenses/>. |
675 |
10 Oct 06 |
jari |
23 |
*/ |
675 |
10 Oct 06 |
jari |
24 |
|
2881 |
18 Nov 12 |
peter |
25 |
#include <config.h> |
2881 |
18 Nov 12 |
peter |
26 |
|
1647 |
13 Dec 08 |
jari |
27 |
#include "PolynomialInterpolation.h" |
675 |
10 Oct 06 |
jari |
28 |
|
1643 |
13 Dec 08 |
jari |
29 |
#include <gsl/gsl_interp.h> |
1643 |
13 Dec 08 |
jari |
30 |
|
193 |
27 Oct 04 |
peter |
31 |
namespace theplu { |
680 |
11 Oct 06 |
jari |
32 |
namespace yat { |
383 |
12 Aug 05 |
jari |
33 |
namespace regression { |
193 |
27 Oct 04 |
peter |
34 |
|
703 |
18 Dec 06 |
jari |
35 |
|
1647 |
13 Dec 08 |
jari |
36 |
PolynomialInterpolation::PolynomialInterpolation(const utility::VectorBase& x, |
1647 |
13 Dec 08 |
jari |
37 |
const utility::VectorBase& y) |
1647 |
13 Dec 08 |
jari |
38 |
: GSLInterpolation(gsl_interp_polynomial,x,y) |
703 |
18 Dec 06 |
jari |
39 |
{ |
703 |
18 Dec 06 |
jari |
40 |
} |
713 |
21 Dec 06 |
peter |
41 |
|
718 |
26 Dec 06 |
jari |
42 |
|
1647 |
13 Dec 08 |
jari |
43 |
PolynomialInterpolation::~PolynomialInterpolation(void) |
718 |
26 Dec 06 |
jari |
44 |
{ |
718 |
26 Dec 06 |
jari |
45 |
} |
718 |
26 Dec 06 |
jari |
46 |
|
718 |
26 Dec 06 |
jari |
47 |
|
681 |
11 Oct 06 |
jari |
48 |
}}} // of namespaces regression, yat, and theplu |