#include "TGraph.h"#include "TAxis.h"#include "TCanvas.h"#include "TLegend.h"#include "TApplication.h"#include "Math/Interpolator.h"#include <iostream>#include <string>#include <cstdlib>#include <cmath>Go to the source code of this file.
Functions | |
| void | interpolate (const ROOT::Math::Interpolator &itp) |
| void | testInterpolation () |
| int | main (int argc, char **argv) |
Variables | |
| bool | showGraphics = true |
| TGraph * | grorig = 0 |
| void interpolate | ( | const ROOT::Math::Interpolator & | itp | ) |
Definition at line 24 of file testInterpolation.cxx.
References ROOT::Math::Interpolator::Deriv(), ROOT::Math::Interpolator::Deriv2(), TGraph::Draw(), ROOT::Math::Interpolator::Eval(), gr, grorig, i, ROOT::Math::Interpolator::Integ(), kBlue, l, n, TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), ROOT::Math::Interpolator::Type(), and type.
Referenced by G__G__RooFitCore1_234_0_17(), and testInterpolation().
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 136 of file testInterpolation.cxx.
References TApplication::Run(), showGraphics, and testInterpolation().
| void testInterpolation | ( | ) |
Definition at line 57 of file testInterpolation.cxx.
References c1, TCanvas::cd(), cos(), TPad::Divide(), TGraph::Draw(), TGraph::GetYaxis(), grorig, i, interpolate(), ROOT::Math::Interpolation::kAKIMA, ROOT::Math::Interpolation::kAKIMA_PERIODIC, ROOT::Math::Interpolation::kCSPLINE, ROOT::Math::Interpolation::kCSPLINE_PERIODIC, ROOT::Math::Interpolation::kLINEAR, ROOT::Math::Interpolation::kPOLYNOMIAL, kRed, n, ROOT::Math::Interpolator::SetData(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerStyle(), TAxis::SetRange(), sin(), x, and y.
Referenced by main().
Definition at line 22 of file testInterpolation.cxx.
Referenced by interpolate(), and testInterpolation().
| bool showGraphics = true |
Definition at line 20 of file testInterpolation.cxx.
1.5.1