I am working with matrices and to solve systems of equations, in one part of the code I have
factor = (matriz_v[f,k]/matriz_v[k,k])
where I get the error "invalid value encountered in double_scalars"
I think it's because he's working with very small values and python is equaling them to zero and since division does not exist for zero I get the error
I want to know how I do to work with all the decimals
I found that using
from mpmath import mp
but I do not know how to put it in the operation above
I hope you can help me, thank you