#ifndef COVMATRIXELEMENT_H #define COVMATRIXELEMENT_H // $Id: CovMatrixElement.h,v 1.3 2002/05/03 18:52:03 sachs Exp $ // Internal definitions for CovMatrix class code // Definitions for Element ordinals for Covariant Matrices // Currently this enum provides for Matrix sizes 1 through 6 namespace CovMatrices { enum CovMatrixElement { // NOTE: Numeric values of the enumerators are important M00 = 0, M10 = 1, M01 = 1, M11 = 2, M20 = 3, M02 = 3, M21 = 4, M12 = 4, M22 = 5, M30 = 6, M03 = 6, M31 = 7, M13 = 7, M32 = 8, M23 = 8, M33 = 9, M40 = 10, M04 = 10, M41 = 11, M14 = 11, M42 = 12, M24 = 12, M43 = 13, M34 = 13, M44 = 14, M50 = 15, M05 =15, M51 = 16, M15 =16, M52 = 17, M25 =17, M53 = 18, M35 =18, M54 = 19, M45 =19, M55 = 20, M_INVALID_COVMATRIX_ELEMENT = 21 // Must be 1 more than largest legal value }; } #endif