Logo ROOT   6.10/09
Reference Guide
Functions | Variables
stressTF1.cxx File Reference
#include <iostream>
#include "TMath.h"
#include "TF1.h"
#include "TCanvas.h"
#include "TGraph.h"
#include "TH2.h"
#include "TStopwatch.h"
#include <cmath>
Include dependency graph for stressTF1.cxx:

Functions

void DrawFunction (TF1 *f1)
 
double func (double *x, double *p)
 
int main ()
 
int PrintStatus (const char *begin, double result, double expected, double time)
 
int stressTF1 ()
 
int TestDerivative (TF1 *f1)
 
int TestIntegral (TF1 *f1)
 
int TestMaxMin (TF1 *f1)
 
int TestRoot (TF1 *f1)
 

Variables

const Int_t NB = 100
 
int ncall = 0
 
const Int_t REP = 100000
 
double sumTime = 0
 
const double TNORM = REP / 1000000.
 
const double XMAX = 2*TMath::Pi()
 
const double XMIN = 0
 

Function Documentation

◆ DrawFunction()

void DrawFunction ( TF1 f1)

Definition at line 23 of file stressTF1.cxx.

◆ func()

double func ( double *  x,
double *  p 
)

Definition at line 213 of file stressTF1.cxx.

◆ main()

int main ( )

Definition at line 244 of file stressTF1.cxx.

◆ PrintStatus()

int PrintStatus ( const char *  begin,
double  result,
double  expected,
double  time 
)

Definition at line 54 of file stressTF1.cxx.

◆ stressTF1()

int stressTF1 ( )

Definition at line 219 of file stressTF1.cxx.

◆ TestDerivative()

int TestDerivative ( TF1 f1)

Definition at line 155 of file stressTF1.cxx.

◆ TestIntegral()

int TestIntegral ( TF1 f1)

Definition at line 184 of file stressTF1.cxx.

◆ TestMaxMin()

int TestMaxMin ( TF1 f1)

Definition at line 118 of file stressTF1.cxx.

◆ TestRoot()

int TestRoot ( TF1 f1)

Definition at line 76 of file stressTF1.cxx.

Variable Documentation

◆ NB

const Int_t NB = 100

Definition at line 14 of file stressTF1.cxx.

◆ ncall

int ncall = 0

Definition at line 20 of file stressTF1.cxx.

◆ REP

const Int_t REP = 100000

Definition at line 15 of file stressTF1.cxx.

◆ sumTime

double sumTime = 0

Definition at line 18 of file stressTF1.cxx.

◆ TNORM

const double TNORM = REP / 1000000.

Definition at line 16 of file stressTF1.cxx.

◆ XMAX

const double XMAX = 2*TMath::Pi()

Definition at line 13 of file stressTF1.cxx.

◆ XMIN

const double XMIN = 0

Definition at line 13 of file stressTF1.cxx.