Question: Write a Python function called isSymmetric which takes a single parameter A and checks if the NumPy matrix A is symmetric. It should return 1
Write a Python function called isSymmetric which takes a single parameter A and checks if the NumPy matrix A is symmetric. It should return 1 if the matrix is symmetric, and 0 if the matrix is nonsymmetric.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
