Commit e56c9f2b authored by Lynn Garren's avatar Lynn Garren
Browse files

Merge branch 'release/CLHEP_2_3_5_0'

parents 9e3dd671 6b04038a
...@@ -31,7 +31,7 @@ clhep_ensure_out_of_source_build() ...@@ -31,7 +31,7 @@ clhep_ensure_out_of_source_build()
# use cmake 3.2 or later # use cmake 3.2 or later
cmake_minimum_required(VERSION 3.2) cmake_minimum_required(VERSION 3.2)
# Project setup # Project setup
project(CLHEP VERSION 2.3.4.5) project(CLHEP VERSION 2.4.0.0)
# - needed for (temporary) back compatibility # - needed for (temporary) back compatibility
set(VERSION ${PROJECT_VERSION}) set(VERSION ${PROJECT_VERSION})
......
==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
2017-11-22 Gabriele Cosmo <Gabriele.Cosmo@cern.ch>
* Random: Updated MixMaxRng class to include latest C++ revision by K.Savvidy of
the MixMax generator, based on MixMax-2.0.
* Random: Replaced skipping coefficients optional set for N=256 with N=240.
* Random: Set MixMax as the default random number generator in HepRandom.
============================== ==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
......
============================== ==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
============================== ==============================
......
============================== ==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
============================== ==============================
......
============================== ==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
============================== ==============================
......
============================== ==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
============================== ==============================
......
============================== ==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
============================== ==============================
......
============================== ==============================
22.11.17 Release CLHEP-2.4.0.0
==============================
==============================
18.09.17 Release CLHEP-2.3.4.5 18.09.17 Release CLHEP-2.3.4.5
============================== ==============================
============================== ==============================
......
Starting Matrix tests Starting Matrix tests
4x5 matrix initialized to zero 4x5 matrix initialized to zero
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
3x3 matrix initialized to identity 3x3 matrix initialized to identity
1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 1.000000 0.000000 0.000000 1.000000
3x3 matrix initialized with Random 3x3 matrix initialized with Random
0.936126 0.919403 0.639520 0.696700 0.874314 0.996086
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
0.806708 0.519495 0.682736 0.891702 0.463235 0.485849
matrix initialized to the previous matrix matrix initialized to the previous matrix
0.936126 0.919403 0.639520 0.696700 0.874314 0.996086
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
0.806708 0.519495 0.682736 0.891702 0.463235 0.485849
8x5 matrix 8x5 matrix
0.936126 0.919403 0.639520 0.219693 0.787936 0.696700 0.874314 0.996086 0.726528 0.617335
0.982814 0.806708 0.519495 0.682736 0.482440 0.089258 0.891702 0.463235 0.485849 0.042765
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
0.437518 0.679394 0.013209 0.955615 0.926358 0.360180 0.380030 0.638425 0.846644 0.200911
0.189177 0.944850 0.210553 0.902436 0.629437 0.267904 0.643543 0.135336 0.235230 0.887551
0.279926 0.988845 0.522208 0.937857 0.806205 0.300388 0.402109 0.483603 0.506828 0.215251
0.581783 0.873714 0.404968 0.779061 0.493356 0.467477 0.396181 0.070771 0.756737 0.438661
0.953221 0.143890 0.469992 0.906381 0.357581 0.966744 0.984287 0.592643 0.536064 0.112911
sub matrix (2-6 x 3-5 of the previous matrix. sub matrix (2-6 x 3-5 of the previous matrix.
0.519495 0.682736 0.482440 0.463235 0.485849 0.042765
0.352072 0.663603 0.004425 0.153185 0.060528 0.124166
0.013209 0.955615 0.926358 0.638425 0.846644 0.200911
0.210553 0.902436 0.629437 0.135336 0.235230 0.887551
0.522208 0.937857 0.806205 0.483603 0.506828 0.215251
embedding sub matrix at 4,3 embedding sub matrix at 4,3
0.936126 0.919403 0.639520 0.219693 0.787936 0.696700 0.874314 0.996086 0.726528 0.617335
0.982814 0.806708 0.519495 0.682736 0.482440 0.089258 0.891702 0.463235 0.485849 0.042765
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
0.437518 0.679394 0.000000 0.000000 0.000000 0.360180 0.380030 0.000000 0.000000 0.000000
0.189177 0.944850 0.000000 0.000000 0.000000 0.267904 0.643543 0.000000 0.000000 0.000000
0.279926 0.988845 0.522208 0.937857 0.806205 0.300388 0.402109 0.483603 0.506828 0.215251
0.581783 0.873714 0.404968 0.779061 0.493356 0.467477 0.396181 0.070771 0.756737 0.438661
0.953221 0.143890 0.469992 0.906381 0.357581 0.966744 0.984287 0.592643 0.536064 0.112911
dsum dsum
0.936126 0.919403 0.639520 0.219693 0.787936 0.000000 0.000000 0.696700 0.874314 0.996086 0.726528 0.617335 0.000000 0.000000
0.982814 0.806708 0.519495 0.682736 0.482440 0.000000 0.000000 0.089258 0.891702 0.463235 0.485849 0.042765 0.000000 0.000000
0.620670 0.707531 0.352072 0.663603 0.004425 0.000000 0.000000 0.361026 0.041587 0.153185 0.060528 0.124166 0.000000 0.000000
0.437518 0.679394 0.000000 0.000000 0.000000 0.000000 0.000000 0.360180 0.380030 0.000000 0.000000 0.000000 0.000000 0.000000
0.189177 0.944850 0.000000 0.000000 0.000000 0.000000 0.000000 0.267904 0.643543 0.000000 0.000000 0.000000 0.000000 0.000000
0.279926 0.988845 0.522208 0.937857 0.806205 0.000000 0.000000 0.300388 0.402109 0.483603 0.506828 0.215251 0.000000 0.000000
0.581783 0.873714 0.404968 0.779061 0.493356 0.000000 0.000000 0.467477 0.396181 0.070771 0.756737 0.438661 0.000000 0.000000
0.953221 0.143890 0.469992 0.906381 0.357581 0.000000 0.000000 0.966744 0.984287 0.592643 0.536064 0.112911 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.482119 0.372202 0.000000 0.000000 0.000000 0.000000 0.000000 0.446258 0.841778
0.000000 0.000000 0.000000 0.000000 0.000000 0.932581 0.646527 0.000000 0.000000 0.000000 0.000000 0.000000 0.641364 0.688086
0.000000 0.000000 0.000000 0.000000 0.000000 0.040399 0.274290 0.000000 0.000000 0.000000 0.000000 0.000000 0.935861 0.819345
a a
0.936126 0.919403 0.639520 0.219693 0.787936 0.696700 0.874314 0.996086 0.726528 0.617335
0.982814 0.806708 0.519495 0.682736 0.482440 0.089258 0.891702 0.463235 0.485849 0.042765
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
0.437518 0.679394 0.013209 0.955615 0.926358 0.360180 0.380030 0.638425 0.846644 0.200911
0.189177 0.944850 0.210553 0.902436 0.629437 0.267904 0.643543 0.135336 0.235230 0.887551
b b
0.279926 0.988845 0.522208 0.937857 0.806205 0.300388 0.402109 0.483603 0.506828 0.215251
0.581783 0.873714 0.404968 0.779061 0.493356 0.467477 0.396181 0.070771 0.756737 0.438661
0.953221 0.143890 0.469992 0.906381 0.357581 0.966744 0.984287 0.592643 0.536064 0.112911
0.482119 0.372202 0.932581 0.646527 0.040399 0.446258 0.841778 0.641364 0.688086 0.935861
0.274290 0.869442 0.162013 0.250219 0.389942 0.819345 0.459343 0.930850 0.983216 0.698402
a += b a += b
1.216052 1.908249 1.161728 1.157551 1.594140 0.997088 1.276422 1.479690 1.233356 0.832586
1.564598 1.680422 0.924463 1.461797 0.975796 0.556736 1.287883 0.534006 1.242586 0.481426
1.573892 0.851420 0.822064 1.569983 0.362007 1.327770 1.025874 0.745828 0.596592 0.237077
0.919637 1.051597 0.945790 1.602142 0.966758 0.806438 1.221808 1.279789 1.534730 1.136772
0.463466 1.814292 0.372566 1.152655 1.019379 1.087249 1.102887 1.066186 1.218445 1.585953
a + b a + b
1.495978 2.897094 1.683936 2.095408 2.400345 1.297476 1.678531 1.963293 1.740183 1.047836
2.146381 2.554136 1.329432 2.240858 1.469152 1.024213 1.684065 0.604777 1.999323 0.920086
2.527113 0.995310 1.292056 2.476364 0.719588 2.294514 2.010161 1.338472 1.132656 0.349988
1.401756 1.423799 1.878371 2.248669 1.007157 1.252697 2.063585 1.921152 2.222817 2.072634
0.737756 2.683735 0.534579 1.402875 1.409321 1.906594 1.562230 1.997036 2.201661 2.284355
a a
0.936126 0.919403 0.639520 0.696700 0.874314 0.996086
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
0.806708 0.519495 0.682736 0.891702 0.463235 0.485849
0.482440 0.620670 0.707531 0.042765 0.361026 0.041587
0.352072 0.663603 0.004425 0.153185 0.060528 0.124166
a.T a.T
0.936126 0.219693 0.806708 0.482440 0.352072 0.696700 0.726528 0.891702 0.042765 0.153185
0.919403 0.787936 0.519495 0.620670 0.663603 0.874314 0.617335 0.463235 0.361026 0.060528
0.639520 0.982814 0.682736 0.707531 0.004425 0.996086 0.089258 0.485849 0.041587 0.124166
End of Matrix tests End of Matrix tests
4x4 Symmetric matrix initialuzed to zero 4x4 Symmetric matrix initialuzed to zero
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
3x3 Symmetric matrix initialized to identity 3x3 Symmetric matrix initialized to identity
1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 1.000000 0.000000 0.000000 1.000000
3x3 symmetric matrix initialized with Random 3x3 symmetric matrix initialized with Random
0.936126 0.919403 0.219693 0.696700 0.874314 0.726528
0.919403 0.639520 0.787936 0.874314 0.996086 0.617335
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
symmetric matrix initialized to the previous matrix symmetric matrix initialized to the previous matrix
0.936126 0.919403 0.219693 0.696700 0.874314 0.726528
0.919403 0.639520 0.787936 0.874314 0.996086 0.617335
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
matrix initialized to the previous symmetric matrix matrix initialized to the previous symmetric matrix
0.936126 0.919403 0.219693 0.696700 0.874314 0.726528
0.919403 0.639520 0.787936 0.874314 0.996086 0.617335
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
0.936126 0.936126 0.696700 0.696700
0.936126 3.800000 0.219693 0.696700 3.800000 0.726528
0.919403 0.639520 22.500000 0.874314 0.996086 22.500000
0.219693 22.500000 0.982814 0.726528 22.500000 0.089258
0.936126 0.936126 0.696700 0.696700
5x5 sym matrix 5x5 sym matrix
0.936126 0.919403 0.219693 0.806708 0.620670 0.696700 0.874314 0.726528 0.891702 0.361026
0.919403 0.639520 0.787936 0.519495 0.707531 0.874314 0.996086 0.617335 0.463235 0.041587
0.219693 0.787936 0.982814 0.682736 0.352072 0.726528 0.617335 0.089258 0.485849 0.153185
0.806708 0.519495 0.682736 0.482440 0.663603 0.891702 0.463235 0.485849 0.042765 0.060528
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
sub sym matrix (2-5 x 2-5 of the previous sub matrix. sub sym matrix (2-5 x 2-5 of the previous sub matrix.
0.639520 0.787936 0.519495 0.707531 0.996086 0.617335 0.463235 0.041587
0.787936 0.982814 0.682736 0.352072 0.617335 0.089258 0.485849 0.153185
0.519495 0.682736 0.482440 0.663603 0.463235 0.485849 0.042765 0.060528
0.707531 0.352072 0.663603 0.004425 0.041587 0.153185 0.060528 0.124166
embedding sub matrix at 2 embedding sub matrix at 2
0.936126 0.919403 0.219693 0.806708 0.620670 0.696700 0.874314 0.726528 0.891702 0.361026
0.919403 0.000000 0.000000 0.000000 0.707531 0.874314 0.000000 0.000000 0.000000 0.041587
0.219693 0.000000 0.000000 0.000000 0.352072 0.726528 0.000000 0.000000 0.000000 0.153185
0.806708 0.000000 0.000000 0.000000 0.663603 0.891702 0.000000 0.000000 0.000000 0.060528
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
a a
0.936126 0.919403 0.639520 0.219693 0.787936 0.696700 0.874314 0.996086 0.726528 0.617335
0.982814 0.806708 0.519495 0.682736 0.482440 0.089258 0.891702 0.463235 0.485849 0.042765
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
0.437518 0.679394 0.013209 0.955615 0.926358 0.360180 0.380030 0.638425 0.846644 0.200911
0.189177 0.944850 0.210553 0.902436 0.629437 0.267904 0.643543 0.135336 0.235230 0.887551
b(sym) b(sym)
0.279926 0.988845 0.937857 0.873714 0.953221 0.300388 0.402109 0.506828 0.396181 0.966744
0.988845 0.522208 0.806205 0.404968 0.143890 0.402109 0.483603 0.215251 0.070771 0.984287
0.937857 0.806205 0.581783 0.779061 0.469992 0.506828 0.215251 0.467477 0.756737 0.592643
0.873714 0.404968 0.779061 0.493356 0.906381 0.396181 0.070771 0.756737 0.438661 0.536064
0.953221 0.143890 0.469992 0.906381 0.357581 0.966744 0.984287 0.592643 0.536064 0.112911
a += b a += b
1.216052 1.908249 1.577377 1.093407 1.741157 0.997088 1.276422 1.502914 1.122710 1.584079
1.971660 1.328916 1.325700 1.087704 0.626330 0.491367 1.375305 0.678485 0.556621 1.027052
1.558528 1.513735 0.933856 1.442664 0.474417 0.867853 0.256838 0.620662 0.817265 0.716809
1.311232 1.084363 0.792270 1.448971 1.832739 0.756362 0.450801 1.395162 1.285305 0.736975
1.142398 1.088740 0.680544 1.808816 0.987018 1.234648 1.627830 0.727979 0.771294 1.000462
a + b a + b
1.495978 2.897094 2.515235 1.967121 2.694378 1.297476 1.678531 2.009741 1.518891 2.550823
2.960505 1.851124 2.131904 1.492672 0.770219 0.893476 1.858909 0.893736 0.627392 2.011339
2.496385 2.319940 1.515639 2.221725 0.944409 1.374681 0.472088 1.088139 1.574002 1.309453
2.184946 1.489331 1.571332 1.942327 2.739120 1.152543 0.521572 2.151899 1.723965 1.273039
2.095619 1.232629 1.150536 2.715197 1.344600 2.201392 2.612117 1.320623 1.307357 1.113373
a a
0.936126 0.919403 0.639520 0.696700 0.874314 0.996086
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
0.806708 0.519495 0.682736 0.891702 0.463235 0.485849
0.482440 0.620670 0.707531 0.042765 0.361026 0.041587
0.352072 0.663603 0.004425 0.153185 0.060528 0.124166
b b
0.437518 0.679394 0.955615 0.360180 0.380030 0.846644
0.679394 0.013209 0.926358 0.380030 0.638425 0.200911
0.955615 0.926358 0.189177 0.846644 0.200911 0.267904
c c
3.874979 3.174124 3.246624 2.884904 1.410787 2.916686 1.760145 2.247544 0.473296 0.408633
3.174124 2.294662 2.591565 2.218441 1.268082 1.760145 0.908403 1.199434 0.304632 0.223998
3.246624 2.591565 2.655679 2.369601 1.272298 2.247544 1.199434 1.624606 0.343887 0.304955
2.884904 2.218441 2.369601 2.074482 1.123889 0.473296 0.304632 0.343887 0.105113 0.059096
1.410787 1.268082 1.272298 1.123889 0.385934 0.408633 0.223998 0.304955 0.059096 0.057195
a a
0.936126 0.919403 0.639520 0.219693 0.787936 0.696700 0.874314 0.996086 0.726528 0.617335
0.982814 0.806708 0.519495 0.682736 0.482440 0.089258 0.891702 0.463235 0.485849 0.042765
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
b b
0.437518 0.679394 0.955615 0.360180 0.380030 0.846644
0.679394 0.013209 0.926358 0.380030 0.638425 0.200911
0.955615 0.926358 0.189177 0.846644 0.200911 0.267904
c c
3.959822 3.883328 2.380930 2.478339 1.915164 0.700953 0.897183 0.878775 0.663235 0.468886
3.883328 3.781678 2.330232 2.406314 1.912025 0.897183 1.452460 1.250340 0.998974 0.579792
2.380930 2.330232 1.426569 1.506020 1.139057 0.878775 1.250340 1.138243 0.884498 0.561740
2.478339 2.406314 1.506020 1.432427 1.318101 0.663235 0.998974 0.884498 0.696368 0.423266
1.915164 1.912025 1.139057 1.318101 0.801846 0.468886 0.579792 0.561740 0.423266 0.294557
a a
0.936126 0.919403 0.219693 0.696700 0.874314 0.726528
0.919403 0.639520 0.787936 0.874314 0.996086 0.617335
0.219693 0.787936 0.982814 0.726528 0.617335 0.089258
b b
0.806708 0.519495 0.482440 0.891702 0.463235 0.042765
0.519495 0.682736 0.620670 0.463235 0.485849 0.361026
0.482440 0.620670 0.707531 0.042765 0.361026 0.041587
c c
2.661619 2.958495 2.436814 1.892464 2.162210 1.425106
2.958495 3.335811 2.799104 2.162210 2.476564 1.644940
2.436814 2.799104 2.495704 1.425106 1.644940 1.117034
a a
0.936126 0.696700
0.919403 0.874314
0.639520 0.996086
b b
0.219693 0.787936 0.806708 0.726528 0.617335 0.891702
0.787936 0.982814 0.519495 0.617335 0.089258 0.463235
0.806708 0.519495 0.682736 0.891702 0.463235 0.485849
c 4.235654 c 3.699503
c c
4.235654 3.699503
End of SymMatrix tests End of SymMatrix tests
4x4 diagonal matrix initialized to zero 4x4 diagonal matrix initialized to zero
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
3x3 diagonal matrix initialized to identity 3x3 diagonal matrix initialized to identity
1.000000 0.000000 0.000000 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 1.000000 0.000000 0.000000 1.000000
3x3 diagonal matrix initialized to Random 3x3 diagonal matrix initialized to Random
0.936126 0.000000 0.000000 0.696700 0.000000 0.000000
0.000000 0.919403 0.000000 0.000000 0.874314 0.000000
0.000000 0.000000 0.639520 0.000000 0.000000 0.996086
diagonal matrix initialized to the previous matrix diagonal matrix initialized to the previous matrix
0.936126 0.000000 0.000000 0.696700 0.000000 0.000000
0.000000 0.919403 0.000000 0.000000 0.874314 0.000000
0.000000 0.000000 0.639520 0.000000 0.000000 0.996086
matrix initialized to the previous diagonal matrix matrix initialized to the previous diagonal matrix
0.936126 0.000000 0.000000 0.696700 0.000000 0.000000
0.000000 0.919403 0.000000 0.000000 0.874314 0.000000
0.000000 0.000000 0.639520 0.000000 0.000000 0.996086
Symmetric matrix initialized to the previous diagonal matrix Symmetric matrix initialized to the previous diagonal matrix
0.936126 0.000000 0.000000 0.696700 0.000000 0.000000
0.000000 0.919403 0.000000 0.000000 0.874314 0.000000
0.000000 0.000000 0.639520 0.000000 0.000000 0.996086
8x8 diag matrix 8x8 diag matrix
0.936126 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.696700 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.919403 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.874314 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.639520 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.996086 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.219693 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.726528 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.787936 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.617335 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.982814 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.089258 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.806708 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.891702 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.519495 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.463235
sub diag matrix (2-5 x 2-5 of the previous diag matrix. sub diag matrix (2-5 x 2-5 of the previous diag matrix.
0.919403 0.000000 0.000000 0.000000 0.874314 0.000000 0.000000 0.000000
0.000000 0.639520 0.000000 0.000000 0.000000 0.996086 0.000000 0.000000
0.000000 0.000000 0.219693 0.000000 0.000000 0.000000 0.726528 0.000000
0.000000 0.000000 0.000000 0.787936 0.000000 0.000000 0.000000 0.617335
embedding sub matrix at 2 embedding sub matrix at 2
0.936126 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.696700 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.787936 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.617335 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.982814 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.089258 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.806708 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.891702 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.519495 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.463235
a a
0.936126 0.919403 0.639520 0.219693 0.787936 0.696700 0.874314 0.996086 0.726528 0.617335
0.982814 0.806708 0.519495 0.682736 0.482440 0.089258 0.891702 0.463235 0.485849 0.042765
0.620670 0.707531 0.352072 0.663603 0.004425 0.361026 0.041587 0.153185 0.060528 0.124166
0.437518 0.679394 0.013209 0.955615 0.926358 0.360180 0.380030 0.638425 0.846644 0.200911
0.189177 0.944850 0.210553 0.902436 0.629437 0.267904 0.643543 0.135336 0.235230 0.887551
b(diag) b(diag)
0.279926 0.000000 0.000000 0.000000 0.000000 0.300388 0.000000 0.000000 0.000000 0.000000
0.000000 0.988845 0.000000 0.000000 0.000000 0.000000 0.402109 0.000000 0.000000 0.000000
0.000000 0.000000 0.522208 0.000000 0.000000 0.000000 0.000000 0.483603 0.000000 0.000000
0.000000 0.000000 0.000000 0.937857 0.000000 0.000000 0.000000 0.000000 0.506828 0.000000
0.000000 0.000000 0.000000 0.000000 0.806205 0.000000 0.000000 0.000000 0.000000 0.215251
a += b a += b
1.216052 0.919403 0.639520 0.219693 0.787936 0.997088 0.874314 0.996086 0.726528 0.617335
0.982814 1.795554 0.519495 0.682736 0.482440 0.089258 1.293811 0.463235 0.485849 0.042765
0.620670 0.707531 0.874280 0.663603 0.004425 0.361026 0.041587 0.636788 0.060528 0.124166
0.437518 0.679394 0.013209 1.893473 0.926358 0.360180 0.380030 0.638425 1.353472 0.200911
0.189177 0.944850 0.210553 0.902436 1.435641 0.267904 0.643543 0.135336 0.235230 1.102801
a + b a + b
1.495978 0.919403 0.639520 0.219693 0.787936 1.297476 0.874314 0.996086 0.726528 0.617335
0.982814 2.784399 0.519495 0.682736 0.482440 0.089258 1.695919 0.463235 0.485849 0.042765
0.620670 0.707531 1.396488 0.663603 0.004425 0.361026 0.041587 1.120392 0.060528 0.124166
0.437518 0.679394 0.013209 2.831330 0.926358 0.360180 0.380030 0.638425 1.860299 0.200911
0.189177 0.944850 0.210553 0.902436 2.241846 0.267904 0.643543 0.135336 0.235230 1.318052
End of DiagMatrix tests End of DiagMatrix tests
4 vector initialized to zero 4 vector initialized to zero
0.000000 0.000000