1. Create a matrix of size m×n with random integers in a specified range.
2. Generate a n×n identity matrix using a custom function.
3. Create a m×n matrix filled with a specific pattern (e.g., checkerboard).
4. Create a matrix with random floating-point numbers and round them to two decimal places.
5. Initialize a 3×3 matrix with specific values given in a list.
6. Create a Toeplitz matrix from a given first row and first column.
7. Generate a Vandermonde matrix from a given list of numbers.
8. Create a matrix of prime numbers up to a certain limit in a specified dimension.
9. Create a 4×4 matrix that represents a rotation transformation about the origin.
10. Create a matrix of size n×n filled with Fibonacci numbers.
11. Print all elements of a matrix in zigzag (snake-like) order.
12. Print the elements of a matrix in spiral order, starting from the outer layer.
13. Print all elements along the primary and secondary diagonals.
14. Print elements above and below the main diagonal separately.
15. Print the last k rows of a matrix.
16. Print the first k columns of a matrix.
17. Print all unique elements from a matrix.
18. Print the sum of each row and each column in a matrix.
19. Print the boundary elements of a matrix in clockwise order.
20. Print all elements of a matrix that are greater than a specified value.
21. Implement matrix addition for two matrices of arbitrary size.
22. Implement matrix subtraction for two matrices of arbitrary size.
23. Multiply two matrices, ensuring dimension compatibility.
24. Transpose a given matrix using an in-place method.
25. Calculate the determinant of a 3×3 matrix.
26. Find the inverse of a 3×3 matrix using Gaussian elimination.
27. Multiply a matrix by a scalar, allowing for negative scalars.
28. Calculate the sum of all elements in a matrix.
29. Calculate the product of all elements in a matrix.
30. Compute the Frobenius norm of a matrix.
31. Search for a specific element in a matrix and return its coordinates.
32. Find the row with the maximum sum and return the sum.
33. Find the column with the minimum sum and return the sum.
34. Count the number of occurrences of a specific element in a matrix.
35. Find the indices of all occurrences of a specific element in a matrix.
36. Check if a matrix contains duplicate rows.
37. Check if a matrix contains duplicate columns.
38. Find the largest and smallest elements in a matrix.
39. Check if a matrix is symmetric about the main diagonal.
40. Check if a matrix is orthogonal.