#include <cmath>#include "Math/SVector.h"#include "Math/SMatrix.h"#include <iostream>#include <vector>#include <string>#include <limits>Go to the source code of this file.
| Defines | |
| #define | XXX | 
| #define | TEST(N) | 
| Functions | |
| template<class T> | |
| int | compare (T a, T b, const std::string &s="", double tol=1) | 
| int | compare (int a, int b, const std::string &s="") | 
| int | compare (bool a, bool b, const std::string &s="") | 
| int | test1 () | 
| int | test2 () | 
| int | test3 () | 
| int | test4 () | 
| int | test5 () | 
| int | test6 () | 
| int | test7 () | 
| int | test8 () | 
| int | test9 () | 
| int | test10 () | 
| int | test11 () | 
| int | test12 () | 
| int | test13 () | 
| int | test14 () | 
| int | test15 () | 
| int | test16 () | 
| int | test17 () | 
| int | test18 () | 
| int | test19 () | 
| int | test20 () | 
| int | test21 () | 
| int | test22 () | 
| int | test23 () | 
| int | test24 () | 
| int | testSMatrix () | 
| int | main () | 
| #define TEST | ( | N | ) | 
Value:
itest = N; \ if (test##N() == 0) std::cerr << " Test " << itest << " OK " << std::endl; \ else { std::cerr << " Test " << itest << " FAILED " << std::endl; \ iret +=1; };
Definition at line 1443 of file testSMatrix.cxx.
| #define XXX | 
| int compare | ( | bool | a, | |
| bool | b, | |||
| const std::string & | s = "" | |||
| ) | 
| int compare | ( | int | a, | |
| int | b, | |||
| const std::string & | s = "" | |||
| ) | 
| int compare | ( | T | a, | |
| T | b, | |||
| const std::string & | s = "", | |||
| double | tol = 1 | |||
| ) | 
| int main | ( | void | ) | 
| int test1 | ( | ) | 
Definition at line 48 of file testSMatrix.cxx.
References A, B, ROOT::Math::SMatrix< T, D1, D2, R >::begin(), ROOT::Math::SMatrix< T, D1, D2, R >::end(), i, m, x, and y.
Referenced by leak_test().
| int test10 | ( | ) | 
Definition at line 355 of file testSMatrix.cxx.
References A, B, C, C2, compare(), d, D, diag, Dot(), double, ROOT::Math::Mag(), ROOT::Math::Mag2(), ROOT::Math::SVector< T, D >::Sub(), and ROOT::Math::Transpose().
| int test11 | ( | ) | 
| int test12 | ( | ) | 
Definition at line 471 of file testSMatrix.cxx.
References a, compare(), E, m, RooFitShortHand::S(), sqrt(), and ROOT::Math::Transpose().
| int test13 | ( | ) | 
| int test14 | ( | ) | 
Definition at line 673 of file testSMatrix.cxx.
References A, B, compare(), RooFitShortHand::S(), ROOT::Math::SMatrix< T, D1, D2, R >::SetDiagonal(), ROOT::Math::SMatrix< T, D1, D2, R >::Trace(), ROOT::Math::Transpose(), u, and w.
| int test15 | ( | ) | 
Definition at line 842 of file testSMatrix.cxx.
References ROOT::Math::SMatrix< T, D1, D2, R >::begin(), compare(), i, ROOT::Math::SMatrix< T, D1, D2, R >::SetElements(), u, v1, and w.
| int test16 | ( | ) | 
Definition at line 934 of file testSMatrix.cxx.
References A, a, B, compare(), RootCsg::epsilon, i, ROOT::Math::SMatrix< T, D1, D2, R >::Inverse(), ROOT::Math::Transpose(), w, Y, and Z.
| int test17 | ( | ) | 
| int test18 | ( | ) | 
Definition at line 1023 of file testSMatrix.cxx.
References compare(), double, E, ROOT::Math::fabs(), i, ROOT::Math::SMatrix< T, D1, D2, R >::Inverse(), j, and RooFitShortHand::S().
| int test19 | ( | ) | 
Definition at line 1078 of file testSMatrix.cxx.
References compare(), E, ROOT::Math::fabs(), i, ROOT::Math::SMatrix< T, D1, D2, R >::Inverse(), j, and RooFitShortHand::S().
| int test2 | ( | ) | 
| int test20 | ( | ) | 
| int test21 | ( | ) | 
Definition at line 1326 of file testSMatrix.cxx.
References ROOT::Math::SMatrix< T, D1, D2, R >::apply(), compare(), ROOT::Math::Div(), i, and ROOT::Math::Times().
| int test22 | ( | ) | 
| int test23 | ( | ) | 
Definition at line 1370 of file testSMatrix.cxx.
References compare(), i, ROOT::Math::SMatrix< T, D1, D2, R >::InverseChol(), j, m, n, ROOT::Math::SolveChol(), and x.
| int test24 | ( | ) | 
Definition at line 1419 of file testSMatrix.cxx.
References A, a, B, b, compare(), R, and ROOT::Math::Transpose().
| int test3 | ( | ) | 
| int test4 | ( | ) | 
| int test6 | ( | ) | 
| int test7 | ( | ) | 
Definition at line 234 of file testSMatrix.cxx.
References ROOT::Math::fabs(), sqrt(), ROOT::Math::Times(), x, and y.
| int test8 | ( | ) | 
Definition at line 278 of file testSMatrix.cxx.
References A, a, b, Cross(), Dot(), ROOT::Math::fabs(), ROOT::Math::Mag(), sqrt(), ROOT::Math::Square(), ROOT::Math::Unit(), x, x2, and y.
| int test9 | ( | ) | 
| int testSMatrix | ( | ) | 
Definition at line 1452 of file testSMatrix.cxx.
References TEST.
Referenced by main(), and stressMathCore().
 1.5.1
 1.5.1