UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
mth
cubspline.hpp
1
// cubspline.hpp
2
// $Id: cubspline.hpp,v 1.2 2006/08/05 09:10:45 ibadm Exp $
3
//-----------------------------------------------------------------------------
4
5
// cubspline.H
6
//-----------------------------------------------------------------------------
7
#ifndef __CubSplineH
8
#define __CubSplineH
9
#include "parspline_service.hpp"
10
11
12
class
CubSpline
13
{
14
public
:
15
16
CubSpline
(
double
*x,
double
*z,
int
n ,
double
smParam = 0);
17
~
CubSpline
();
18
19
bool
SplineFunction(
double
x,
double
&z);
20
21
double
GetSigma();
22
23
private
:
24
25
// from Spline.C
26
void
ApproxCubSplineOneD();
27
28
double
*x, *z, *a1, *a2, *a3, *a4;
29
double
*G, *dphi3n, *PHI;
30
char
*strerr;
31
double
sigma, amax;
32
33
int
N, err;
34
35
};
36
//=========================================================================
37
#endif
38
39
CubSpline
Definition:
cubspline.hpp:12
Generated by
1.8.5