Add functions to TMatrix and friends

Hello Folks,

I needed to do a lot of mixed vector/matrix expressions, such as

double s = v1 * M * v2; // e.g., physics matrix element TMatrixD M = v1' * v2 // outer product of v1 and v2
The attached files implement these functions, along with vector/matrix AreCompatible functions.

Enjoy,
Peter
NGMTMatrix.h (6.24 KB)
NGMTMatrix.cpp (1.79 KB)

Hi Peter,

Your extensions to the matrix package are now in the SVN trunk.
Thanks very much for this interesting contribution and thanks to Eddy Offermann for doing the integration.

Rene