English, asked by ty2011ton, 1 year ago

What is the difference between array and matrix?

Answers

Answered by anu0207
0

in computer programming, a collection of single dimensions array can be termed as matrix. You can represent an 2d Array(i.e, collection of single dimension arrays) in matrix form. A[2][3] : This means A is a collection of 2 single dimension arrays each of size 3. //The collection is a multi-dimensional or 2d Array.


rohit324062: hiii beauty
anu0207: hey ??
rohit324062: hii
anu0207: hey
rohit324062: i love u....
rohit324062: u r so hot
rohit324062: reply darling
rohit324062: reply sexy
Answered by darshanajumbad
0

A matrix is pretty simple. It's just a rectangular array of number. (Some definitions would allow it to be filled with non-numeric things, but the rectangular array part is pretty universal.) Matrices are really important and can be used for some complicated mathematics, but the matrix itself is just a bunch of numbers arranged in a rectangle.

A vector, by comparison, is quite a bit more complicated. The most basic kinds of vectors that students learn about are just rows of numbers or columns of numbers. These kinds of vectors are actually examples of matrices! A row vector with 10 elements is just 10 numbers arranged in a matrix of size 1 by 10. However, these aren't the only kinds of vectors out there - they are just the first that are taught.

A vector is, by definition, any element of a special kind of set called a vector space. If you want to learn about vector spaces, you usually have to make it all the way to a class called linear algebra (usually taken after at least 3 semesters of college calculus). Suffice it to say that vectors can come in MANY different forms. Functions can be vectors. Shapes can be vectors. Sounds can be vectors.. This list goes on and on.... i hope this is usefull

Similar questions