Program List - 2D Arrays
- Read and print a matrix
- Transpose of matrix
- Print both diagonals of a matrix
- Scalar matrix multiplication
- Find maximum and minimum in a matrix
- Addition and subtraction of two matrices
- Multiplication of two matrices
- Add 'N' matrices
- Subtract 'N' matrices
- Multiply 'N' matrices
- Find normal of a square matrix.
- Find trace of a matrix
- Perform various operations on elements of the matrix
- Display upper and lower triangle of the matrix
- Find sum of elements of upper and lower triangles of the matrix
- Search an element in 2D matrix
- Sort the matrix
- Sort the matrix rows and columns
- Interchange any two rows in a matrix
- Interchange any two columns in a matrix
- Interchange the diagonal elements of the matrix
- Reverse diagonals of matrix
- Two matrices equal or not
- Matrix is upper triangular or not
- Matrix is lower triangular or not
- Matrix is identity matrix or not
- Square matrix is symmetric or not
- Matrix is a sparse matrix or not
- Matrix is a magic square or not
- Matrix is orthogonal or not
- Matrix is toeplitz or not
- Matrix is involutory matrix or not.
- Matrix is idempotent or not.
- Matrix is markov or not.
- Matrix is Binary matrix or not
- Print a matrix in spiral form
- Print a matrix in reverse spiral form
- Print a matrix in counter-clockwise spiral form
- Print a matrix in wave form
- Print a matrix in snake pattern from first column
- Print a matrix in snake pattern from last column
- Print a matrix diagonally downward
- Print a matrix diagonally upward
- Print a matrix in z form
- Print boundary elements of the matrix
- Rotate a matrix by 90 degree in clockwise direction
- Rotate a matrix by 90 degree in anti-clockwise direction
- Print the mirror image of the matrix
- Print the mirror image of matrix across diagonal
- Print the water image of the matrix
- Sum of matrix and its mirror image
- Find the frequency of odd numbers and even numbers in a matrix
- Find the saddle point of the matrix