Previous Table of Contents Next


12.3.25 CategoryMatrix


   A CategoryMatrix assigns numeric values to pairs of categories. It is either represented as a set of CategoryMatrixEntry objects or as a table.

   Superclasses

   ModelElement

   Attributes

   diagonalDefault

   If a matrix cell in the diagonal is not specified, then this value is used. The default value is

   1.0. type: double multiplicity: exactly one

   offDiagonalDefault

   If a matrix cell not in the diagonal is not specified, then this value is used. The default value is 0. type: double multiplicity: exactly one

   kind

   This specifies the type of matrix: ’Diagonal’, ’symmetric’, or ’any’. If diagonal, then all values outside the diagonal are 0. If symmetric, then value(i,j)=value(j,i). type: MatrixProperty (symmetric | diagonal | any) multiplicity: exactly one

   References

   category

   This enumerates the categories spanning the matrix. class: Category defined by: MatrixRefIndexLabels multiplicity: two or more inverse: Category::categoryMatrix