try specifiying the
dtype=”float”
When the matrix is created.
Example:
a=np.matrix([[1,2],[3,4]], dtype="float")
Hope this works!
try specifiying the
dtype=”float”
When the matrix is created.
Example:
a=np.matrix([[1,2],[3,4]], dtype="float")
Hope this works!