[SciPy-user] Schur complement

Nils Wagner nwagner at mecha.uni-stuttgart.de
Wed May 26 05:58:11 CDT 2004


Dear experts,

I am trying to solve a transcendental eigenvalue problem via the Schur 
complement. However, I have some trouble with optimize.fsolve.

How can I solve this problem ?

Thanks in advance.

Nils

Traceback (most recent call last):
   File "fschur.py", line 58, in ?
     S = optimize.fsolve(func,x0)
   File "/usr/lib/python2.3/site-packages/scipy/optimize/minpack.py", 
line 80, in fsolve
     check_func(func,x0,args,n,(n,))
   File 
"/usr/lib/python2.3/site-packages/scipy/optimize/common_routines.py", 
line 13, in check_func
     res = myasarray(apply(thefunc,args))
   File "fschur.py", line 56, in func
     return schur(T(x))
   File "fschur.py", line 8, in T
     tmp[0,0] = -sin(x)
ValueError: array too large for destination
 >>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fschur.py
Type: text/x-python
Size: 967 bytes
Desc: not available
Url : http://www.scipy.net/pipermail/scipy-user/attachments/20040526/c9c9b281/fschur.py


More information about the SciPy-user mailing list