1 #ifndef MATEMATICASTRUCT_H     2 #define MATEMATICASTRUCT_H   129     Coe = (
double*)calloc(N,
sizeof(
double));
   130     if(!Coe)printf(
"Spline: not allocated\n");
   138     if(n<0||n>=NCoeff){printf(
"Spline: Wrong index\n");
   145       printf(
"Spline: Wrong index\n");
   151       printf(
"Spline: Wrong index\n");return ;} 
   165   void AxisRotation(
double x,
double y,
double z,
double degrees);
   166   void CreateMatrix(
double *pMatrix);
   173 #endif //MATEMATICA_H double a4
a0 + a1*x + a2*x^2 + a3*x^3 + a4^4 
double a1
a0 + a1 x + a2 x^2 
double GetCoe(int n)
Print the n coefficient. 
coeficients of a N order spline 
int m
Second number of the couple. 
void AddCoe(double Val, int n)
Add to the n coefficient. 
double xC
x position of the center 
double sLim
Superior limit. 
double a2
a0 + a1 x + a2 x^2 
double MinimoY
Minimum of the parabola. 
Three dimentional vector. 
double Erra2
Error on the third coefficient. 
Indices for the permutation. 
double yMin
Minimum of the ordinate. 
int n
First number of the couple. 
int IfRis
If the zero was founds. 
double ErrQ
Error on the intercept. 
double yMax
Maximum of the ordinate. 
double a3
a0 + a1*x + a2*x^2 + a3*x^3 + a4^4 
Moments of a distribution. 
double iLim
Iferior limit. 
double Rad
Radius of the circle. 
double Zero
Point of the zero. 
double ErrM
Error on the slope. 
double Erra0
Error on the first coefficient. 
~Spline()
Free the memory. 
int GetN()
Print the number of coefficients. 
double a2
a0 + a1*x + a2*x^2 + a3*x^3 + a4^4 
double a0
a0 + a1 x + a2 x^2 
double a1
a0 + a1*x + a2*x^2 + a3*x^3 + a4^4 
double ErrY
Error a posteriori. 
Where a root was searched. 
double Erra1
Error on the second coefficient. 
double Minimo
Minimum of the parabola. 
Spline(int N)
Allocate the memory. 
Four dimentional vector/quaternion. 
int Num
Number of points considered. 
double a0
a0 + a1*x + a2*x^2 + a3*x^3 + a4^4 
Radius and center of a circle. 
double yC
y position of the center 
double Delta
Step interval. 
void SetCoe(double Val, int n)
Set the n coefficient.