39 std::cout <<
"Test InvSym15 #" << testId << std::endl;
40 std::vector<litfloat> input1(15);
41 for (
int i = 0; i < 15; i++) {
42 input1[i] = gRandom->Rndm();
47 std::vector<litfloat> a1(input1);
53 TMatrixTSym<litfloat> r1(5, rd1);
59 bool testPassed =
true;
60 for (
int i = 0; i < 15; i++) {
61 if (std::abs(a1[i] - rd2[i]) >
fEpsilon) {
67 std::cout <<
"Test InvSym15 #" << testId <<
" PASSED" << std::endl;
70 std::cout <<
"Test InvSym15 #" << testId <<
" !!!NOT PASSED!!!" << std::endl;
76 std::cout <<
"Test Mult15On5 #" << testId << std::endl;
77 std::vector<litfloat> input1(15);
78 for (
int i = 0; i < 15; i++) {
79 input1[i] = gRandom->Rndm();
81 std::vector<litfloat> input2(5);
82 for (
int i = 0; i < 5; i++) {
83 input2[i] = gRandom->Rndm();
89 std::vector<litfloat> a1(5);
95 TMatrixTSym<litfloat> r1(5, rd1);
96 TMatrixT<litfloat> v1(5, 1, &input2[0]);
97 TMatrixT<litfloat> u1(5, 1);
105 bool testPassed =
true;
106 for (
int i = 0; i < 5; i++) {
107 if (std::abs(a1[i] - ro[i]) >
fEpsilon) {
113 std::cout <<
"Test Mult15On5 #" << testId <<
" PASSED" << std::endl;
116 std::cout <<
"Test Mult15On5 #" << testId <<
" !!!NOT PASSED!!!" << std::endl;