Test file for the interpolations.
More...
#include "GaudiKernel/SystemOfUnits.h"
#include "GaudiMath/GaudiMath.h"
#include <cmath>
#include <cstdio>
#include <iostream>
Go to the source code of this file.
Test file for the interpolations.
- Date
- 2003-08-31
- Author
- Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
Definition in file InterpTest.cpp.
make interpolation of "sin", 10 points from 0 to pi
the first derivative
the second derivative. multiplied by -1
-1*integral(0.0)
Definition at line 22 of file InterpTest.cpp.
31 for (
int i = 0; i <= 20; ++i ) {
32 double x = i * 3.141592 / 20.0;
33 double y = mysin( x );
55 for (
int i = 0; i < 30; ++i ) {
56 double x = i * 3.141592 / 30.0;
58 mysin( x ) - i1( x ), mycos( x ) - i2( x ), mysin( x ) - i3( x ), mycos( x ) - i4( x ) );
Genfun::GaudiMathImplementation::GSLSplineDeriv2 SplineDeriv2
Genfun::GaudiMathImplementation::SimpleFunction SimpleFun
Genfun::AbsFunction Function
Genfun::GaudiMathImplementation::GSLSplineInteg SplineInteg