stressLinear.cxx File Reference

#include <stdlib.h>
#include <Riostream.h>
#include <TSystem.h>
#include <TFile.h>
#include <TBenchmark.h>
#include <TArrayD.h>
#include <TF1.h>
#include <TGraph.h>
#include <TROOT.h>
#include "TMath.h"
#include "TMatrixF.h"
#include "TMatrixFSym.h"
#include "TMatrixFSparse.h"
#include "TMatrixFLazy.h"
#include "TVectorF.h"
#include "TMatrixD.h"
#include "TMatrixDSym.h"
#include "TMatrixDSparse.h"
#include "TMatrixDLazy.h"
#include "TMatrixDUtils.h"
#include "TVectorD.h"
#include "TDecompLU.h"
#include "TDecompChol.h"
#include "TDecompQRH.h"
#include "TDecompSVD.h"
#include "TDecompBK.h"
#include "TMatrixDEigen.h"
#include "TMatrixDSymEigen.h"

Go to the source code of this file.

Classes

class  FillMatrix
class  ApplyFunction
class  MakeHilbert
class  TestUnit
class  hilbert_matrix_promise
class  SinAction
class  CosAction
class  MakeMatrix

Defines

#define EPSILON   1.0e-14

Typedefs

typedef Double_t(*) dfunc (Double_t)

Functions

void stressLinear (Int_t maxSizeReq=100, Int_t verbose=0)
void StatusPrint (Int_t id, const TString &title, Bool_t status)
void mstress_allocation (Int_t msize)
void mstress_matrix_fill (Int_t rsize, Int_t csize)
void mstress_element_op (Int_t rsize, Int_t csize)
void mstress_binary_ebe_op (Int_t rsize, Int_t csize)
void mstress_transposition (Int_t msize)
void mstress_special_creation (Int_t dim)
void mstress_matrix_promises (Int_t dim)
void mstress_norms (Int_t rsize, Int_t csize)
void mstress_determinant (Int_t msize)
void mstress_mm_multiplications ()
void mstress_sym_mm_multiplications (Int_t msize)
void mstress_vm_multiplications ()
void mstress_inversion ()
void mstress_matrix_io ()
void spstress_allocation (Int_t msize)
void spstress_matrix_fill (Int_t rsize, Int_t csize)
void spstress_element_op (Int_t rsize, Int_t csize)
void spstress_binary_ebe_op (Int_t rsize, Int_t csize)
void spstress_transposition (Int_t msize)
void spstress_norms (Int_t rsize, Int_t csize)
void spstress_mm_multiplications ()
void spstress_vm_multiplications ()
void spstress_matrix_slices (Int_t vsize)
void spstress_matrix_io ()
void vstress_allocation (Int_t msize)
void vstress_element_op (Int_t vsize)
void vstress_binary_op (Int_t vsize)
void vstress_norms (Int_t vsize)
void vstress_matrix_slices (Int_t vsize)
void vstress_vector_io ()
Bool_t test_svd_expansion (const TMatrixD &A)
void astress_decomp ()
void astress_lineqn ()
void astress_pseudo ()
void astress_eigen (Int_t msize)
void astress_decomp_io (Int_t msize)
void stress_backward_io ()
void cleanup ()
int main (int argc, const char *argv[])

Variables

Int_t gVerbose = 0
Int_t gNrLoop
const Int_t nrSize = 20
const Int_t gSizeA [] = {5,6,7,8,9,10,15,20,30,40,50,60,70,80,90,100,300,500,700,1000}


Define Documentation

#define EPSILON   1.0e-14

Definition at line 190 of file stressLinear.cxx.

Referenced by astress_decomp(), astress_eigen(), astress_lineqn(), astress_pseudo(), mstress_allocation(), mstress_binary_ebe_op(), mstress_determinant(), mstress_element_op(), mstress_inversion(), mstress_matrix_fill(), mstress_matrix_promises(), mstress_mm_multiplications(), mstress_sym_mm_multiplications(), mstress_vm_multiplications(), spstress_allocation(), spstress_binary_ebe_op(), spstress_element_op(), spstress_matrix_fill(), spstress_matrix_slices(), spstress_mm_multiplications(), spstress_vm_multiplications(), stress_allocation(), stress_binary_ebe_op(), stress_binary_op(), stress_element_op(), stress_inversion(), stress_matrix_fill(), stress_matrix_promises(), stress_matrix_slices(), stress_mm_multiplications(), stress_sym_mm_multiplications(), stress_vm_multiplications(), test_svd_expansion(), vstress_binary_op(), vstress_element_op(), vstress_matrix_slices(), and vstress_norms().


Typedef Documentation

typedef Double_t(*) dfunc(Double_t)

Definition at line 607 of file stressLinear.cxx.


Function Documentation

void astress_decomp (  ) 

Definition at line 3907 of file stressLinear.cxx.

References A, EPSILON, TDecompChol::GetMatrix(), TDecompLU::GetMatrix(), gVerbose, TMatrixTSym< Element >::kAtA, kTRUE, StatusPrint(), test_svd_expansion(), and VerifyMatrixIdentity().

Referenced by stressLinear().

void astress_decomp_io ( Int_t  msize  ) 

Definition at line 4249 of file stressLinear.cxx.

References colsum, TDirectoryFile::Get(), gVerbose, kTRUE, m, rowsum, TDecompQRH::Solve(), TDecompLU::Solve(), TDecompChol::Solve(), TDecompBK::Solve(), TDecompSVD::Solve(), StatusPrint(), TDecompBK::TransSolve(), TDecompSVD::TransSolve(), TDecompQRH::TransSolve(), TDecompLU::TransSolve(), TDecompChol::TransSolve(), and TObject::Write().

Referenced by stressLinear().

void astress_eigen ( Int_t  msize  ) 

Definition at line 4198 of file stressLinear.cxx.

References EPSILON, TMatrixDSymEigen::GetEigenValues(), TMatrixDEigen::GetEigenValuesIm(), TMatrixDEigen::GetEigenValuesRe(), TMatrixDSymEigen::GetEigenVectors(), TMatrixDEigen::GetEigenVectors(), TDecompSVD::GetSig(), gVerbose, TMatrixTSym< Element >::kAtA, TMatrixT< Element >::kTransposeMult, kTRUE, m, TMatrixT< Element >::NormByRow(), TVectorT< Element >::Sqr(), StatusPrint(), VerifyMatrixIdentity(), and VerifyVectorIdentity().

Referenced by stressLinear().

void astress_lineqn (  ) 

Definition at line 3998 of file stressLinear.cxx.

References EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetRowLwb(), gNrLoop, gSizeA, gVerbose, kTRUE, TDecompQRH::Solve(), TDecompLU::Solve(), TDecompChol::Solve(), TDecompBK::Solve(), TDecompSVD::Solve(), StatusPrint(), TDecompBK::TransSolve(), TDecompSVD::TransSolve(), TDecompQRH::TransSolve(), TDecompLU::TransSolve(), TDecompChol::TransSolve(), verbose, VerifyVectorValue(), and TVectorT< Element >::Zero().

Referenced by stressLinear().

void astress_pseudo (  ) 

Definition at line 4134 of file stressLinear.cxx.

References A, TDecompSVD::Condition(), EPSILON, gVerbose, TDecompSVD::Invert(), kTRUE, TDecompBase::MultiSolve(), nrows, TMatrixT< Element >::ResizeTo(), StatusPrint(), T, TMatrixTBase< Element >::UnitMatrix(), and VerifyMatrixIdentity().

Referenced by stressLinear().

void cleanup (  ) 

int main ( int  argc,
const char *  argv[] 
)

Definition at line 174 of file stressLinear.cxx.

References cleanup(), gBenchmark, stressLinear(), and verbose.

void mstress_allocation ( Int_t  msize  ) 

Definition at line 345 of file stressLinear.cxx.

References AreCompatible(), TMath::E(), EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNoElements(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, j, kTRUE, ok, TMath::Pi(), TMatrixT< Element >::ResizeTo(), StatusPrint(), and VerifyMatrixIdentity().

Referenced by stressLinear().

void mstress_binary_ebe_op ( Int_t  rsize,
Int_t  csize 
)

Definition at line 771 of file stressLinear.cxx.

References Add(), Compare(), ElementDiv(), ElementMult(), EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, j, kTRUE, TMatrixT< Element >::kZero, m, ok, R__ASSERT, StatusPrint(), VerifyMatrixIdentity(), VerifyMatrixValue(), and TMatrixTBase< Element >::Zero().

Referenced by stressLinear().

void mstress_determinant ( Int_t  msize  ) 

Definition at line 1172 of file stressLinear.cxx.

References TMath::Abs(), TDecompSVD::Det(), TDecompChol::Det(), TDecompQRH::Det(), TMatrixT< Element >::Determinant(), EPSILON, gVerbose, H, i, j, kFALSE, TMatrixT< Element >::kTransposed, kTRUE, TMath::Log(), m, ok, TMath::Power(), RootCsg::sign(), and StatusPrint().

Referenced by stressLinear().

void mstress_element_op ( Int_t  rsize,
Int_t  csize 
)

Definition at line 615 of file stressLinear.cxx.

References TMatrixTBase< Element >::Abs(), TMatrixTBase< Element >::Apply(), c, TMath::Cos(), EPSILON, gVerbose, i, j, kTRUE, TMatrixT< Element >::kZero, m, ok, TMath::Pi(), R__ASSERT, s, TMath::Sin(), TMatrixTBase< Element >::Sqr(), StatusPrint(), VerifyMatrixIdentity(), VerifyMatrixValue(), and TMatrixTBase< Element >::Zero().

Referenced by stressLinear().

void mstress_inversion (  ) 

Definition at line 1899 of file stressLinear.cxx.

References TMath::Abs(), TMatrixT< Element >::Determinant(), RootCsg::epsilon, EPSILON, gNrLoop, gSizeA, gVerbose, i, TDecompLU::Invert(), TDecompChol::Invert(), TDecompSVD::Invert(), TMatrixT< Element >::Invert(), TDecompQRH::Invert(), TMatrixTSym< Element >::InvertFast(), TMatrixT< Element >::InvertFast(), kFALSE, TMatrixT< Element >::kInverted, TMatrixT< Element >::kMult, TMatrixT< Element >::kTransposed, kTRUE, TMatrixT< Element >::kUnit, TMatrixT< Element >::kZero, TMath::Log(), m, TMath::Pi(), size, StatusPrint(), unit, verbose, and VerifyMatrixIdentity().

Referenced by stressLinear().

void mstress_matrix_fill ( Int_t  rsize,
Int_t  csize 
)

Definition at line 448 of file stressLinear.cxx.

References EPSILON, TArrayD::GetArray(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixT< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, j, kTRUE, m, ok, TMath::Pi(), TMatrixT< Element >::ResizeTo(), TMatrixT< Element >::SetSub(), TMatrixTBase< Element >::Sqr(), StatusPrint(), unit, TMatrixT< Element >::Use(), val, and VerifyMatrixIdentity().

Referenced by stressLinear().

void mstress_matrix_io (  ) 

Definition at line 2070 of file stressLinear.cxx.

References TDirectoryFile::Get(), gNrLoop, gSizeA, gVerbose, i, kFALSE, kTRUE, m, name, TMath::Pi(), sprintf(), StatusPrint(), TMatrixT< Element >::Use(), verbose, and TObject::Write().

Referenced by stressLinear().

void mstress_matrix_promises ( Int_t  dim  ) 

Definition at line 1091 of file stressLinear.cxx.

References EPSILON, gVerbose, kTRUE, m, ok, StatusPrint(), and VerifyMatrixIdentity().

Referenced by stressLinear().

void mstress_mm_multiplications (  ) 

Definition at line 1413 of file stressLinear.cxx.

References d, diag, RootCsg::epsilon, EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gNrLoop, gSizeA, gVerbose, i, j, TMatrixT< Element >::kMult, TMatrixT< Element >::kTransposed, TMatrixT< Element >::kTransposeMult, kTRUE, TMatrixT< Element >::kUnit, TMatrixT< Element >::kZero, m, TMatrixT< Element >::Mult(), n, ok, p, TMath::Pi(), StatusPrint(), u, unit, verbose, and VerifyMatrixIdentity().

Referenced by stressLinear().

void mstress_norms ( Int_t  rsize,
Int_t  csize 
)

Definition at line 1125 of file stressLinear.cxx.

References E2Norm(), Fatal(), gVerbose, kFALSE, kTRUE, TMatrixT< Element >::kZero, m, ok, and StatusPrint().

Referenced by stressLinear().

void mstress_special_creation ( Int_t  dim  ) 

Definition at line 951 of file stressLinear.cxx.

References TMath::Abs(), TMatrixTBase< Element >::Apply(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, j, kFALSE, kTRUE, TMatrixT< Element >::kUnit, TMatrixT< Element >::kZero, l, m, ok, StatusPrint(), test_unit(), val, and VerifyVectorIdentity().

Referenced by stressLinear().

void mstress_sym_mm_multiplications ( Int_t  msize  ) 

Definition at line 1582 of file stressLinear.cxx.

References d, diag, RootCsg::epsilon, EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixT< Element >::GetMatrixArray(), TMatrixTSym< Element >::GetMatrixArray(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, h, i, j, TMatrixTSym< Element >::kAtA, kFALSE, TMatrixT< Element >::kMult, TMatrixT< Element >::kMultTranspose, TMatrixTSym< Element >::kTransposed, TMatrixT< Element >::kTransposed, TMatrixT< Element >::kTransposeMult, kTRUE, TMatrixT< Element >::kUnit, TMatrixTSym< Element >::kUnit, TMatrixTSym< Element >::kZero, m, n, p, TMath::Pi(), TMatrixTSym< Element >::Similarity(), TMatrixTSym< Element >::SimilarityT(), StatusPrint(), u, unit, and VerifyMatrixIdentity().

Referenced by stressLinear().

void mstress_transposition ( Int_t  msize  ) 

Definition at line 860 of file stressLinear.cxx.

References TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), gVerbose, i, j, kFALSE, TMatrixT< Element >::kTransposed, kTRUE, m, TMath::Min(), ok, TMath::Pi(), R__ASSERT, and StatusPrint().

Referenced by stressLinear().

void mstress_vm_multiplications (  ) 

Definition at line 1786 of file stressLinear.cxx.

References RootCsg::epsilon, EPSILON, TVectorT< Element >::GetLwb(), TVectorT< Element >::GetUpb(), gNrLoop, gSizeA, gVerbose, i, kFALSE, TMatrixT< Element >::kMult, kTRUE, m, TMath::Pi(), StatusPrint(), TMatrixTBase< Element >::UnitMatrix(), v1, verbose, VerifyMatrixIdentity(), and VerifyVectorIdentity().

Referenced by stressLinear().

void spstress_allocation ( Int_t  msize  ) 

Definition at line 2162 of file stressLinear.cxx.

References AreCompatible(), TMath::E(), EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNoElements(), TMatrixTBase< Element >::GetNrows(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, j, kTRUE, n, TMath::Pi(), TMatrixTSparse< Element >::ResizeTo(), TMatrixTSparse< Element >::SetMatrixArray(), StatusPrint(), val, and VerifyMatrixIdentity().

Referenced by stressLinear().

void spstress_binary_ebe_op ( Int_t  rsize,
Int_t  csize 
)

Definition at line 2551 of file stressLinear.cxx.

References Add(), Compare(), TMath::E(), ElementDiv(), ElementMult(), EPSILON, TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, j, kTRUE, TMatrixTSparse< Element >::kZero, m, TMath::Pi(), R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), StatusPrint(), VerifyMatrixIdentity(), and VerifyMatrixValue().

Referenced by stressLinear().

void spstress_element_op ( Int_t  rsize,
Int_t  csize 
)

Definition at line 2401 of file stressLinear.cxx.

References TMatrixTBase< Element >::Abs(), EPSILON, gVerbose, i, j, kTRUE, TMatrixTSparse< Element >::kZero, m, n, R__ASSERT, TMatrixTSparse< Element >::SetSparseIndex(), StatusPrint(), val, VerifyMatrixIdentity(), VerifyMatrixValue(), and TMatrixTSparse< Element >::Zero().

Referenced by stressLinear().

void spstress_matrix_fill ( Int_t  rsize,
Int_t  csize 
)

Definition at line 2246 of file stressLinear.cxx.

References TMath::E(), EPSILON, Error, TMatrixTSparse< Element >::ExtractRow(), TMatrixTBase< Element >::GetColLwb(), TMatrixTBase< Element >::GetColUpb(), TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), gVerbose, i, TMatrixTSparse< Element >::InsertRow(), j, kFALSE, kTRUE, m, TMath::Pi(), TMatrixTSparse< Element >::ResizeTo(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSub(), TMatrixTBase< Element >::Sqr(), StatusPrint(), TMatrixTSparse< Element >::Use(), v1, VerifyMatrixIdentity(), and VerifyVectorIdentity().

Referenced by stressLinear().

void spstress_matrix_io (  ) 

Definition at line 3103 of file stressLinear.cxx.

References TDirectoryFile::Get(), gNrLoop, gSizeA, gVerbose, kFALSE, kTRUE, m, name, TMath::Pi(), sprintf(), StatusPrint(), TMatrixTSparse< Element >::Use(), verbose, and TObject::Write().

Referenced by stressLinear().

void spstress_matrix_slices ( Int_t  vsize  ) 

Definition at line 3020 of file stressLinear.cxx.

References EPSILON, TMatrixTSparseDiag_const< Element >::GetNdiags(), gVerbose, j, kFALSE, kTRUE, m, ok, StatusPrint(), and VerifyVectorValue().

Referenced by stressLinear().

void spstress_mm_multiplications (  ) 

Definition at line 2754 of file stressLinear.cxx.

References RootCsg::epsilon, EPSILON, TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), gNrLoop, gSizeA, gVerbose, i, TMatrixTSparse< Element >::kMult, TMatrixTSparse< Element >::kMultTranspose, TMatrixTSparse< Element >::kTransposed, kTRUE, TMatrixTSparse< Element >::kUnit, TMatrixTSparse< Element >::kZero, m, TMatrixTSparse< Element >::Mult(), n, p, TMath::Pi(), TMatrixTSparse< Element >::SetSparseIndex(), StatusPrint(), unit, units, val, verbose, and VerifyMatrixIdentity().

Referenced by stressLinear().

void spstress_norms ( Int_t  rsize,
Int_t  csize 
)

Definition at line 2706 of file stressLinear.cxx.

References E2Norm(), Fatal(), gVerbose, kFALSE, kTRUE, m, and StatusPrint().

Referenced by stressLinear().

void spstress_transposition ( Int_t  msize  ) 

Definition at line 2640 of file stressLinear.cxx.

References TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TMatrixTSparse< Element >::GetSub(), gVerbose, kFALSE, TMatrixTSparse< Element >::kTransposed, kTRUE, m, TMath::Min(), TMath::Pi(), R__ASSERT, and StatusPrint().

Referenced by stressLinear().

void spstress_vm_multiplications (  ) 

Definition at line 2922 of file stressLinear.cxx.

References RootCsg::epsilon, EPSILON, TVectorT< Element >::GetLwb(), TVectorT< Element >::GetUpb(), gNrLoop, gSizeA, gVerbose, kFALSE, TMatrixTSparse< Element >::kMult, kTRUE, m, TMath::Pi(), StatusPrint(), TMatrixTSparse< Element >::UnitMatrix(), v1, verbose, VerifyMatrixIdentity(), and VerifyVectorIdentity().

Referenced by stressLinear().

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

Definition at line 72 of file stressFit.cxx.

References i, kMAX, TString::Length(), number, sprintf(), and title.

void stress_backward_io (  ) 

Definition at line 4376 of file stressLinear.cxx.

References TMatrixTBase< Element >::GetRowLwb(), TMatrixTBase< Element >::GetRowUpb(), kFALSE, kTRUE, TFile::Open(), TMath::Pi(), TFile::SetCacheFileDir(), and StatusPrint().

Referenced by stressLinear().

void stressLinear ( Int_t  maxSizeReq = 100,
Int_t  verbose = 0 
)

Definition at line 199 of file stressLinear.cxx.

References astress_decomp(), astress_decomp_io(), astress_eigen(), astress_lineqn(), astress_pseudo(), TString::Data(), TGraph::Eval(), gBenchmark, TSystem::GetBuildNode(), TBenchmark::GetCpuTime(), TSystem::Getenv(), TSystem::GetFromPipe(), TNamed::GetName(), TROOT::GetVersion(), TROOT::GetVersionDate(), TROOT::GetVersionTime(), gNrLoop, gr, gROOT, gSizeA, gSystem, gVerbose, mstress_allocation(), mstress_binary_ebe_op(), mstress_determinant(), mstress_element_op(), mstress_inversion(), mstress_matrix_fill(), mstress_matrix_io(), mstress_matrix_promises(), mstress_mm_multiplications(), mstress_norms(), mstress_special_creation(), mstress_sym_mm_multiplications(), mstress_transposition(), mstress_vm_multiplications(), nrSize, TBenchmark::Print(), TString::Resize(), spstress_allocation(), spstress_binary_ebe_op(), spstress_element_op(), spstress_matrix_fill(), spstress_matrix_io(), spstress_matrix_slices(), spstress_mm_multiplications(), spstress_norms(), spstress_transposition(), spstress_vm_multiplications(), TBenchmark::Start(), TBenchmark::Stop(), stress_backward_io(), vstress_allocation(), vstress_binary_op(), vstress_element_op(), vstress_matrix_slices(), vstress_norms(), and vstress_vector_io().

Referenced by main().

Bool_t test_svd_expansion ( const TMatrixD A  ) 

Definition at line 3816 of file stressLinear.cxx.

References A, diag, EPSILON, TMatrixTBase< Element >::GetNcols(), TMatrixTBase< Element >::GetNrows(), TDecompSVD::GetSig(), TDecompSVD::GetU(), TDecompSVD::GetV(), gVerbose, TMatrixT< Element >::kTransposed, kTRUE, TMatrixTBase< Element >::Print(), Print(), TVectorT< Element >::Print(), s, TMatrixTBase< Element >::UnitMatrix(), and VerifyMatrixIdentity().

Referenced by astress_decomp().

void vstress_allocation ( Int_t  msize  ) 

Definition at line 3179 of file stressLinear.cxx.

References AreCompatible(), TVectorT< Element >::GetLwb(), TVectorT< Element >::GetUpb(), gVerbose, kFALSE, kTRUE, TMath::Pi(), StatusPrint(), and v1.

Referenced by stressLinear().

void vstress_binary_op ( Int_t  vsize  ) 

Definition at line 3413 of file stressLinear.cxx.

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

Referenced by stressLinear().

void vstress_element_op ( Int_t  vsize  ) 

Definition at line 3265 of file stressLinear.cxx.

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

Referenced by stressLinear().

void vstress_matrix_slices ( Int_t  vsize  ) 

Definition at line 3595 of file stressLinear.cxx.

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

Referenced by stressLinear().

void vstress_norms ( Int_t  vsize  ) 

Definition at line 3504 of file stressLinear.cxx.

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

Referenced by stressLinear().

void vstress_vector_io (  ) 

Definition at line 3740 of file stressLinear.cxx.

References TDirectoryFile::Get(), gNrLoop, gSizeA, gVerbose, kFALSE, kTRUE, name, TMath::Pi(), sprintf(), StatusPrint(), TVectorT< Element >::Use(), verbose, and TObject::Write().

Referenced by stressLinear().


Variable Documentation

Int_t gNrLoop

Definition at line 193 of file stressLinear.cxx.

Referenced by astress_lineqn(), mstress_inversion(), mstress_matrix_io(), mstress_mm_multiplications(), mstress_vm_multiplications(), spstress_matrix_io(), spstress_mm_multiplications(), spstress_vm_multiplications(), stressLinear(), and vstress_vector_io().

const Int_t gSizeA[] = {5,6,7,8,9,10,15,20,30,40,50,60,70,80,90,100,300,500,700,1000}

Definition at line 195 of file stressLinear.cxx.

Referenced by astress_lineqn(), mstress_inversion(), mstress_matrix_io(), mstress_mm_multiplications(), mstress_vm_multiplications(), spstress_matrix_io(), spstress_mm_multiplications(), spstress_vm_multiplications(), stressLinear(), and vstress_vector_io().

Int_t gVerbose = 0

Definition at line 192 of file stressLinear.cxx.

const Int_t nrSize = 20

Definition at line 194 of file stressLinear.cxx.

Referenced by stressLinear().


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