+ 8

What are arrays and matrices? How are they differ from each other?

வரிசைகள் மற்றும் அணிகள் என்றால் என்ன? அவ்விரண்டும் எவ்வாறு ஒவ்வொரிலிருந்து வித்தியாசம் பெறுகிறது?

23rd Nov 2019, 8:33 AM
Ve Sudhakaran
4 Respostas
+ 8
Arrays are simple arrangements of any types of data in multidimensional perceptive... Matrices are two dimensional arrays of only numerical data... Arrays are just data representation... But matrices have special capabilities to do numeric operations with respect to various implementations to various branches of higher mathematics.... But arrays primarily used in Statistics as data representation tools ...
23rd Nov 2019, 2:10 PM
Ve Sudhakaran
+ 4
arrays are use to solve matrices problems, there not the same any ways
23rd Nov 2019, 8:41 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 4
For simplicity- int arr[4]; -> array int arr[4][4]; -> matrix
23rd Nov 2019, 8:50 AM
Avinesh
Avinesh - avatar
+ 2
2 points to remember for arrays 1. contiguous memory allocation 2. all data of same type A matrix is basically an array of arrays of same lengths.
25th Nov 2019, 1:19 PM
Sohamkumar Chauhan
Sohamkumar Chauhan - avatar