Home Lesson 1 Lesson 2 Lesson 3 Lesson 4 Lesson 5 Test





2 DIMENTIONAL ARRAYS,2 DIMENTIONAL ARRAYS TABLE

Definition.If m,n are nonzero natural numbers. It is called 2 dimensional array with m lines and n columns (2 dimensional array of (m,n) type with complex number elements, a function f:{1,2,...,m}x{1,2,...,n}->C

The values ​​of the function f are called elements of the 2 dimensional array A and are represented in the form of a table

Particular cases of 2 dimensional arrays:

1. If m=1, 2d array A is called liniar 2d array

2.IF n=1, 2d array A is called columnar 2d array

3. If m=n, 2d array A is called a square 2d array of order n. In case of square 2d array ,it is called the main diagonal of 2d array A the ordered lot:

Also for square 2d array, it is called secondary diagonal of 2d array A the ordered lot:

The sum of the elements on the main diagonal of the 2d array A is called the trace of the 2d array A and it is noted Tr(A).

4. If all the elements of a 2d array are equal to zero, the 2d array is called a null 2d array and is noted:

Definition.Two 2d arrays A and B are called equal 2d arrays,if:

Properties of the equality relation of 2d arrays :

1. Property of reflexivity

2. Property of symmetry

3. Property of transitivity