PR Summary:
This PR updates the code by replacing all instances of np.matrix with operations that treat the objects as arrays. The changes align with the recommendations mentioned in the NumPy documentation. This modification ensures consistency and compatibility with modern coding practices and solves the following deprecation warning:
PR Summary: This PR updates the code by replacing all instances of
np.matrix
with operations that treat the objects as arrays. The changes align with the recommendations mentioned in the NumPy documentation. This modification ensures consistency and compatibility with modern coding practices and solves the following deprecation warning: