βͺ Element: Each item in the inner array is called an element of the matrix. Eg, aββ
βͺ Row: Each item in the main array is called a row. Eg, [aββ, aββ, aββ]
βͺ Column: A column is list of items at a specific index from each row in order. Eg, [aββ, aββ, aββ]
1οΈβ£ Dimension of a Matrix
Dimension of a Matrix is specified as the number of rows and number of columns in the matrix.
2οΈβ£ Square Matrix
A matrix is called as a "Square Matrix" only if its "number of rows" is equal to its "number of columns".
3οΈβ£ Diagonal Matrix
A "Diagonal Matrix" is a square matrix which has only Zeroes (0s) as its non-diagonal elements (row index = column index).
Diagonal elements can be both Non-Zero and Zero.
4οΈβ£ Upper Triangular Matrix
An "Upper Triangular Matrix" is a square matrix which has only Zeroes (0s) as elements "below" the diagonal elements.
5οΈβ£ Lower Triangular Matrix
An "Lower Triangular Matrix" is a square matrix which has only Zeroes (0s) as elements "above" the diagonal elements.
6οΈβ£ Identity/Unity Matrix
An "Identity Matrix" is a diagonal matrix with only 1s as its diagonal elements.
7οΈβ£ Zero Matrix
A "Zero Matrix" has only Zeroes (0s) as all its elements.
8οΈβ£ Transpose Matrix
A "Transpose Matrix" is formed by converting rows of a matrix into columns (and thus columns into rows).
Dimension of a transpose matrix is exactly opposite of the dimension of the original matrix.
9οΈβ£ Scalar Multiplication
By doing "Scalar Multiplication", each element of the matrix is multiplied by a scalar value.
1οΈβ£0οΈβ£ Matrix Addition
By "Matrix Addition", elements at a specific row and column from 2 matrices are added.
1οΈβ£1οΈβ£ Matrix Subtraction
By "Matrix Subtraction", elements at a specific row and column from one matrix is subtracted from the another.
1οΈβ£2οΈβ£ Matrix Multiplication
By "Matrix Multiplication", elements of a row from the first matrix is first multiplied with elements of a column from the second matrix and then summation is taken.
1οΈβ£3οΈβ£ Orthogonal Matrix
A matrix is known as "Orthogonal" when multiplied with its transpose results into an Identity Matrix.
In other words, if transpose of a matrix is equivalent to its inverse, the matrix is orthogonal.
OMISSIONS:
βͺ Determinant of a Matrix
βͺ Inverse of a Matrix
Because of their complex algorithms which won't fit into an infographic, I omitted these two.
Are you interested in JavaScript contents? I am sharing a lot of materials in Infographics.
βͺ What is DSA?
β DSA stands for "Data Structures and Algorithms"
β DSA is a subject of study and, practice mostly in "Programming Domain"
β Unlike popular belief, DSA is not one thing, rather 2 tightly coupled topics.
βͺ What is a Data Structure?
A data structure is a way of organising (or, collecting) the data so that it can be used efficiently and effectively.
βͺ What is an Algorithm?
An algorithm is a set of instructions for solving a problem or accomplishing a task.
β’ The questions covered here are mostly conceptual
β’ I do not claim only these type of questions are/should be asked during interviews
β’ For interviews, you should have fundamentals strong. And you should be able to provide solutions to practical problems.
β’ The questions covered here are mostly conceptual
β’ I never claim only these type of questions are/should be asked during interviews
β’ For interviews, you should have fundamentals strong. And you should be able to provide solutions to practical problems.