Matrix


superclasses:

Tuple

attributes:

rows Integer

columns Integer

matrixValues List(Numeric)

constraints:

The product of rows and columns equals the number of elements in matrixValues.

comments:

A general structure for two-dimensional matrices consisting of numeric primitives. The structure for the matrix is standard such that the first value in the list refers to the upper left position of the matrix and the last value to the lower right position. The values are listed row by row, with each row running from left to right and starting with the top row.


Links to Section 3.7 and the complete SAIF class list