A matrix is an organized set of "

**n p**" numbers, displayed in an array of

**n** rows and

**p** columns.

The numbers included in the matrix are the *matrix elements*. Each element is identified by its row and by its column.

A *value* is associated with each element.

In this matrix, n=2 rows and p=4 columns. The value of the element (row 2 , column 3) is 7The *dimension (or size) of the matrix* corresponds to the number of rows and to the number of columns found in the matrix.

WINDEV, WINDEV Mobile et WEBDEV allow you to manage the size of your matrices dynamically. Indeed, a matrix is empty when it is created: it contains 0 row and 0 column. The dimension of this matrix is 0 x 0.

When an element is initialized in row n and column p, the matrix size becomes n x p.

For example, when an element is initialized in row 6 and column 12, the matrix size becomes 6 x 12.