class QucSplint : public CorBase

A spline interpolation wrapper.

Inheritance:


public members:

static double splint ( double anXP, double* anX, double* aY, int anN, int *aStart )
double anXP
double* anX
double* aY
int anN
int *aStart
static double splint2 ( double anXP, double* anX, double* aY, double* aY2, int anN, int *aStart )
double anXP
double* anX
double* aY


double* aY2
int anN
int *aStart

protected members:

QucSplint ()
QucSplint ( const QucSplint & aRef )
const QucSplint & aRef
QucSplint & operator= ( const QucSplint & aRef )
const QucSplint & aRef
virtual ~QucSplint ()

Documentation


SYNOPSIS

    #include <QucSplint.h>
  
    QucSplint myObject;
  

DESCRIPTION
This class encapsulates two functions to interpolate splines. Methods for the interpolation of Hermite polynomials and natural-cubic splines are provided.

CAUTIONS
<optional>

EXAMPLES
<optional>

SEE ALSO
CorBase

static double splint ( double anXP, double* anX, double* aY, int anN, int *aStart )
Purpose
Interpolate using Hermite polynomials.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the value of the interpolation.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

Arguments

double anXP
x value to interpolate

double* anX
x array [1..n]

double* aY
y array [1..n]

int anN
array size specifier

int * aStart
initial start index

static double splint2 ( double anXP, double* anX, double* aY, double* aY2, int anN, int *aStart )
Purpose
Interpolate using natural-cubic splines.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Returns
This function returns the value of the interpolation.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

Arguments

double anXP
x value to interpolate

double* anX
x array [1..n]

double* aY
y array [1..n]

double* aY2
y2 array [1..n] (2nd derivatives)

int anN
array size specifier

int * aStart
initial start index

QucSplint ()
Purpose
The default c'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.

QucSplint ( const QucSplint & aRef )
Purpose
The copy c'tor creates a new instance from a reference.

Preconditions

Exceptions

Arguments

const QucSplint & aRef
the reference instance

QucSplint & operator= ( const QucSplint & aRef )
Purpose
The assignment operator makes this instance look like another one.

Preconditions

Returns
A reference to this instance.

Exceptions

Arguments

const QucSplint & aRef
the reference instance

virtual ~QucSplint ()
Purpose
The d'tor.

Preconditions

  • Itemize this section if necessary. Remove itemization otherwise.

Exceptions

  • Itemize this section if necessary. Remove itemization otherwise.


this class has no child classes.

alphabetic index hierarchy of classes


VLT-DFS Subsystem Core - User Manual 1.1 VLT-MAN-ESO-19000-0001

generated by doc++