--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/40f267f5-50b1-42e8-9434-a6cac8a095cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CADDwiVBLTUjJ3z%2B-dgKOo3dMgW7SVcTEm_VqKwNc3hRJpeQVqQ%40mail.gmail.com.
ValueError: Error in inverting M: function gmres did not converge (info = 800).
array([ 1.26665321e-09 -9.92038587e-05j, 2.25603714e+00 +0.00000000e+00j, -3.95890789e+00 +0.00000000e+00j, -7.07685154e+00 +0.00000000e+00j, -2.10871433e+00 +1.07638101e+01j, -2.10871433e+00 -1.07638101e+01j])
>>>scp.linalg.eigs(A,k=6,which='LM',sigma=0,return_eigenvectors=False)
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-59-779c8d1f2586> in <module>() ----> 1 scp.linalg.eigs(A,k=6,which='LM',sigma=0,return_eigenvectors=False) /home/ptb/miniconda3/lib/python3.4/site-packages/scipy/sparse/linalg/eigen/arpack/arpack.py in eigs(A, k, M, sigma, which, v0, ncv, maxiter, tol, return_eigenvectors, Minv, OPinv, OPpart) 1272 1273 while not params.converged: -> 1274 params.iterate() 1275 1276 return params.extract(return_eigenvectors) /home/ptb/miniconda3/lib/python3.4/site-packages/scipy/sparse/linalg/eigen/arpack/arpack.py in iterate(self) 733 else: 734 Bxslice = slice(self.ipntr[2] - 1, self.ipntr[2] - 1 + self.n) --> 735 self.workd[yslice] = self.OPa(self.workd[Bxslice]) 736 elif self.ido == 2: 737 self.workd[yslice] = self.B(self.workd[xslice]) /home/ptb/miniconda3/lib/python3.4/site-packages/scipy/sparse/linalg/eigen/arpack/arpack.py in <lambda>(x) 665 else: # real type 666 if mode == 3: --> 667 self.OPa = lambda x: np.real(Minv_matvec(x)) 668 else: 669 self.OPa = lambda x: np.imag(Minv_matvec(x)) /home/ptb/miniconda3/lib/python3.4/site-packages/scipy/sparse/linalg/interface.py in matvec(self, x) 132 raise ValueError('dimension mismatch') 133 --> 134 y = self._matvec(x) 135 136 if isinstance(x, np.matrix): /home/ptb/miniconda3/lib/python3.4/site-packages/scipy/sparse/linalg/eigen/arpack/arpack.py in _matvec(self, x) 950 raise ValueError("Error in inverting M: function " 951 "%s did not converge (info = %i)." --> 952 % (self.ifunc.__name__, info)) 953 return b 954 ValueError: Error in inverting M: function gmres did not converge (info = 400).
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/026d439b-5304-43ff-adc6-1e6b6a286ecc%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "sympy" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sympy/mWiIRQ62U30/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sympy+un...@googlegroups.com.
To post to this group, send email to sy...@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CADDwiVCgyfgOQ7-uum5gOPO-AsgGeXpDXOq-MA2twwze0Cs5mQ%40mail.gmail.com.
I see. You might also try SLEPC, some of the solvers from there might work better.
Sent from my mobile phone.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CALoNiQfs6npmWfDPBWFduzp8wJAB%3DtbqaMuASKO2331Kh0vefw%40mail.gmail.com.