Calculating matrix trace correctness tests results

Sample 5x5 matrix:
Matrix:
           1000             4              6                8               10
            4            1100             16              18              20
            6               16          1200              28              30
            8               18              28          1300              40
           10              20              30              40          1400
 

LinearAlgebra

Trace = 6e+03

LinearAlgebra (Symmetric Matrices)

Trace = 6e+03

CLHEP

Trace = 1028 ???

CLHEP (Symmetric matrices)

Trace = 6000

CovMatrices (inherently symmetric)

Trace = 6000
 

Tests were compiled and build using GCC 3.0.1

Nick Macks