(Column)Vector * (Row)vector multiplication correctness tests results

Sample 5-element vector:
(Column)Vector:
         2
         4
         6
         8
        10
(Row)Vector:
         2               4               6               8              10
 

1. Vector * Vector, 1 time

LinearAlgebra

Vector * Vector =
          4                8              12              16              20
          8              16              24              32              40
        12              24              36              48              60
        16              32              48              64              80
        20              40              60              80            100

CLHEP

Vector * Vector =
             4              8            12            16            20
             8            16            24            32            40
           12            24            36            48            60
           16            32            48            64            80
           20            40            60            80          100

CovMatrices

Vector * Vector =
  +4.0000000000e+00
  +1.6000000000e+01   +1.6000000000e+01
  +2.4000000000e+01   +4.8000000000e+01   +3.6000000000e+01
  +3.2000000000e+01   +6.4000000000e+01   +9.6000000000e+01   +6.4000000000e+01
  +4.0000000000e+01   +8.0000000000e+01   +1.2000000000e+02   +1.6000000000e+02   +1.0000000000e+02
 

2. Vector * Vector, 50 times (the product of the vectors is stored on the product)

LinearAlgebra

Vector * Vector =
         200               400                 600                 800           1e+03
         400               800          1.2e+03         1.6e+03           2e+03
         600         1.2e+03         1.8e+03         2.4e+03           3e+03
         800         1.6e+03         2.4e+03         3.2e+03           4e+03
     1e+03           2e+03             3e+03            4e+03           5e+03

CLHEP

Vector * Vector =
           200            400            600            800          1000
           400            800          1200          1600          2000
           600          1200          1800          2400          3000
           800          1600          2400          3200          4000
         1000          2000          3000          4000          5000

CovMatrices

Vector * Vector =
  +2.0000000000e+02
  +8.0000000000e+02   +8.0000000000e+02
  +1.2000000000e+03   +2.4000000000e+03   +1.8000000000e+03
  +1.6000000000e+03   +3.2000000000e+03   +4.8000000000e+03   +3.2000000000e+03
  +2.0000000000e+03   +4.0000000000e+03   +6.0000000000e+03   +8.0000000000e+03   +5.0000000000e+03
  +2.0100000000e+02
 

Nick Macks
 

Tests were compiled and build using GCC 3.0.1