vvector.cxx File Reference

#include "TROOT.h"
#include "TFile.h"
#include "Riostream.h"
#include "TVectorD.h"
#include "TMath.h"

Go to the source code of this file.

Classes

class  SinAction
class  CosAction

Defines

#define EPSILON   1.0e-14

Functions

void stress_vector (Int_t verbose)
void stress_allocation ()
void stress_element_op (Int_t vsize)
void stress_binary_op (Int_t vsize)
void stress_norms (Int_t vsize)
void stress_matrix_slices (Int_t vsize)
void stress_vector_io ()
int main (int argc, char **argv)
void StatusPrint (Int_t id, const Char_t *title, Bool_t status)

Variables

Int_t gVerbose = 0


Define Documentation

#define EPSILON   1.0e-14

Definition at line 63 of file vvector.cxx.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 39 of file vvector.cxx.

References c, Error, i, stress_vector(), and verbose.

void StatusPrint ( Int_t  id,
const Char_t title,
Bool_t  status 
)

Definition at line 86 of file vvector.cxx.

References i, kMAX, and sprintf().

void stress_allocation (  ) 

void stress_binary_op ( Int_t  vsize  ) 

Definition at line 344 of file vvector.cxx.

References Add(), Compare(), ElementDiv(), ElementMult(), RootCsg::epsilon, EPSILON, gVerbose, kTRUE, TMath::Pi(), StatusPrint(), v1, VerifyVectorIdentity(), VerifyVectorValue(), and vp.

Referenced by stress_vector().

void stress_element_op ( Int_t  vsize  ) 

Definition at line 196 of file vvector.cxx.

References c, TMath::Cos(), EPSILON, TVectorT< Element >::GetLwb(), TVectorT< Element >::GetUpb(), gVerbose, kTRUE, TMath::Pi(), s, TMath::Sin(), StatusPrint(), v1, VerifyVectorIdentity(), and VerifyVectorValue().

void stress_matrix_slices ( Int_t  vsize  ) 

Definition at line 527 of file vvector.cxx.

References EPSILON, TVectorT< Element >::GetLwb(), TMatrixTDiag_const< Element >::GetNdiags(), TVectorT< Element >::GetUpb(), gVerbose, j, kTRUE, m, TMath::Max(), ok, StatusPrint(), VerifyVectorIdentity(), and VerifyVectorValue().

Referenced by stress_vector().

void stress_norms ( Int_t  vsize  ) 

Definition at line 436 of file vvector.cxx.

References TMath::Abs(), TMath::Ceil(), Compare(), Fatal(), gVerbose, kTRUE, l, TMath::Max(), TMath::Min(), n, norm(), StatusPrint(), and v1.

void stress_vector ( Int_t  verbose  ) 

Definition at line 69 of file vvector.cxx.

References gVerbose, stress_allocation(), stress_binary_op(), stress_element_op(), stress_matrix_slices(), stress_norms(), stress_vector_io(), and verbose.

Referenced by main().

void stress_vector_io (  ) 

Definition at line 672 of file vvector.cxx.

References TDirectoryFile::Get(), gVerbose, kTRUE, TMath::Pi(), and StatusPrint().

Referenced by stress_vector().


Variable Documentation

Int_t gVerbose = 0

Definition at line 65 of file vvector.cxx.


Generated on Tue Jul 5 16:08:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1