Question:
After seeing arrays and arrays in programming, I was a little confused, so I would like to know, what is the difference between an array and an array ?
Answer:
This is more of a mathematical concept than a programming one.
Just as a square is a particular case of a quadrilateral, an array is a particular case of a matrix: it is a matrix with only one dimension.
Here, array is understood to be synonymous with vector.
In programming, the Array type is a data structure whose elements can be manipulated/accessed through indexes and can have one or more dimensions.
The terms vector and matrix mathematics by analogy, are sometimes used to denote one-dimensional and two-dimensional arrays Arrays, respectively.