[Scipy-tickets] [SciPy] #499: scipy linalg det fails

SciPy scipy-tickets@scipy....
Wed Sep 12 09:49:37 CDT 2007


#499: scipy linalg det fails
----------------------------+-----------------------------------------------
 Reporter:  GeorgeLeCompte  |        Owner:  somebody
     Type:  defect          |       Status:  new     
 Priority:  normal          |    Milestone:  0.6     
Component:  scipy.linalg    |      Version:          
 Severity:  major           |   Resolution:          
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by GeorgeLeCompte):

 Replying to [comment:5 rkern]:
 > http://en.wikipedia.org/wiki/SSE2

 I modified the test program to run under python as follows:
 {{{
 ##program hi
 ##real a,b,c,d
 ##real x,y,z
 from math import exp as EXP
 a=.013
 b=.027
 c=.0937
 d=.79
 y=-a/b + (a/b+c)*EXP(d)
 print 'y',y
 z=(-a)/b + (a/b+c)*EXP(d)
 print 'z',z
 x=y-z
 print 'x',x
 ##end
 fout = open('testResults.txt','w')
 fout.writelines(r"""
 'y',%s
 'z',%s
 'x',%s
 """%(y,z,x))
 fout.close()
 }}}
 The resulting file was:
 {{{

 y 0.785871339263
 z 0.785871339263
 x 0.0
 }}}
 This either means that my processor is using SSE2 or that the optimizer is
 working well.

 How does this help solve the problem of a bad build?

 ps, the python code and results are now in the attachments to this ticket.
 g

-- 
Ticket URL: <http://scipy.org/scipy/scipy/ticket/499#comment:6>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list