29 std::vector<double> vctx ;
30 std::vector<double> vcty ;
32 for (
int i = 0 ;
i < 20 ; ++
i )
34 double x =
i * 3.141592/20.0 ;
35 double y = mysin ( x ) ;
36 vctx.push_back ( x ) ;
37 vcty.push_back ( y ) ;
59 for (
int i = -10 ;
i < 30 ; ++
i ) {
60 double x =
i * 3.141592/30.0 ;
61 printf(
"x=%+7.1f; Sin-i1=%+14.9f; Cos-i2=%+14.9f; Sin-i3=%+14.9f; Cos-i4=%+14.9f;\n",
62 x / Gaudi::Units::degree,
63 mysin ( x ) - i1( x ),
64 mycos ( x ) - i2( x ),
65 mysin ( x ) - i3( x ),
66 mycos ( x ) - i4( x ));
Genfun::GaudiMathImplementation::GSLSplineDeriv2 SplineDeriv2
Genfun::GaudiMathImplementation::SimpleFunction SimpleFun
Genfun::AbsFunction Function
Genfun::GaudiMathImplementation::GSLSplineInteg SplineInteg