Presentation is loading. Please wait.

Presentation is loading. Please wait.

D2 Indices and matrices Matrix representation in computer systems:

Similar presentations


Presentation on theme: "D2 Indices and matrices Matrix representation in computer systems:"— Presentation transcript:

1 D2 Indices and matrices Matrix representation in computer systems:
the relationship between matrices and arrays mathematical operations using matrices single, two- and multi-dimensional arrays row-major and column-major order.

2 A matrix is a rectangular collection of numbers which can be used in mathematical operations. Matrices are used in many areas of computing including in the calculations needed for ‘wire-framing’, which forms the basis of virtual gaming landscapes. A 2D matrix has 2 rows which can be used to hold the (x, y) coordinates of a shape. These can be multiplied by other matrices to produce new (x, y) coordinates for operations such as rotation, mirroring, resizing, and so on. Indices are used to identify items in a matrix. Arrays are similar to Matrices and sometimes are saved in the same format due to their similarity.

3 mathematical operations using matrices
Mathematical operations include adding, subtracting etc. of matrices to allow them to be manipulated as shapes.

4

5 mathematical operations using matrices
Mathematical operations include adding, subtracting etc. of matrices to allow them to be manipulated as shapes.

6

7

8


Download ppt "D2 Indices and matrices Matrix representation in computer systems:"

Similar presentations


Ads by Google