AMA_Spline.h
Go to the documentation of this file.
1 
4 #ifndef AMA_SPLINE_H
5 #define AMA_SPLINE_H
6 
7 /* -------------------------------------------------------------------------------------------------------------------------------
8  -------------------------------------------------------------------------------------------------------------------------------
9  --- THESE ARE USER CALLABLE FUNCTIONS ---
10  -------------------------------------------------------------------------------------------------------------------------------
11  ------------------------------------------------------------------------------------------------------------------------------- */
12 
13 long int AMA_SplineCheck ( AMA_OPTIONS *options,
14  AMA_SPLINE *spline );
15 
16 long int AMA_SplineFree ( AMA_OPTIONS *options,
17  AMA_SPLINE **spline );
18 
19 long int AMA_SplineIntegral ( AMA_OPTIONS *options ,
20  long int *porder ,
21  AMA_SPLINE *spline ,
22  AMA_SPLINE **integral );
23 
24 long int AMA_SplinePartial ( AMA_OPTIONS *options,
25  long int *porder ,
26  AMA_SPLINE *spline ,
27  AMA_SPLINE **partial );
28 
29 long int AMA_SplinePartialValue ( AMA_OPTIONS *options,
30  double *x ,
31  long int *porder ,
32  AMA_SPLINE *spline ,
33  double *sval );
34 
35 long int AMA_SplineRead ( AMA_OPTIONS *options,
36  const char *splfile,
37  const char *type ,
38  AMA_SPLINE **spline );
39 
40 long int AMA_SplineValue ( AMA_OPTIONS *options,
41  double *x ,
42  AMA_SPLINE *spline ,
43  double *sval );
44 
45 long int AMA_SplineWrite ( AMA_OPTIONS *options,
46  const char *splfile,
47  const char *type ,
48  AMA_SPLINE *spline );
49 
50 /* -------------------------------------------------------------------------------------------------------------------------------
51  -------------------------------------------------------------------------------------------------------------------------------
52  --- THESE ARE USER SUPPORT FUNCTIONS ---
53  --- THESE FUNCTIONS CHECK INPUT MEMBERS OR SET INPUT AND OUTPUT MEMBERS OF USER DEFINABLE STRUCTURES ---
54  -------------------------------------------------------------------------------------------------------------------------------
55  ------------------------------------------------------------------------------------------------------------------------------- */
56 
57 double AMA_SplineInfbnd ( void );
58 
59 /* -------------------------------------------------------------------------------------------------------------------------------
60  -------------------------------------------------------------------------------------------------------------------------------
61  --- THESE ARE INTERNAL FUNCTIONS ---
62  -------------------------------------------------------------------------------------------------------------------------------
63  ------------------------------------------------------------------------------------------------------------------------------- */
64 
65 
66 #endif /* AMA_SPLINE_H */
67 
double AMA_SplineInfbnd(void)
Define a finite number which represents an infinite bound.
Definition: AMA_Spline.c:707
long int AMA_SplineWrite(AMA_OPTIONS *options, const char *splfile, const char *type, AMA_SPLINE *spline)
Write a Spline
Definition: AMA_Spline.c:628
long int AMA_SplinePartial(AMA_OPTIONS *options, long int *porder, AMA_SPLINE *spline, AMA_SPLINE **partial)
Analytic Partial of a Spline
Definition: AMA_Spline.c:238
long int AMA_SplineRead(AMA_OPTIONS *options, const char *splfile, const char *type, AMA_SPLINE **spline)
Read a Spline
Definition: AMA_Spline.c:444
This structure is used to maintain the AMA Spline Library environment.
Definition: AMA.h:335
long int AMA_SplineFree(AMA_OPTIONS *options, AMA_SPLINE **spline)
Free a Spline Structure
Definition: AMA_Spline.c:104
long int AMA_SplineIntegral(AMA_OPTIONS *options, long int *porder, AMA_SPLINE *spline, AMA_SPLINE **integral)
Analytic Integral of a Spline
Definition: AMA_Spline.c:170
CNSPLA_SPLINE AMA_SPLINE
Definition: AMA.h:461
long int AMA_SplinePartialValue(AMA_OPTIONS *options, double *x, long int *porder, AMA_SPLINE *spline, double *sval)
Evaluate Partial Derivative of a Spline
Definition: AMA_Spline.c:320
long int AMA_SplineCheck(AMA_OPTIONS *options, AMA_SPLINE *spline)
Check Validity of Spline Structure
Definition: AMA_Spline.c:47
long int AMA_SplineValue(AMA_OPTIONS *options, double *x, AMA_SPLINE *spline, double *sval)
Evaluate a Spline
Definition: AMA_Spline.c:520