[SciPy-dev] genetic algorithm, number theory, filterdesign,zerofinding

Chuck Harris Chuck.Harris at sdl.usu.edu
Thu Apr 11 15:24:15 CDT 2002


> -----Original Message-----
> From: Chuck Harris 
> Sent: Thursday, April 11, 2002 2:15 PM
> To: scipy-dev at scipy.org
> Subject: RE: [SciPy-dev] genetic algorithm, number theory,
> filterdesign,zerofinding
> 
> 
> Hi,
> 
> > -----Original Message-----
> > From: Travis Oliphant [mailto:oliphant at ee.byu.edu]
> > Sent: Thursday, April 11, 2002 11:07 AM
> > To: scipy-dev at scipy.org
> > Subject: RE: [SciPy-dev] genetic algorithm, number theory,
> > filterdesign,zerofinding
> > 
> > 
> > > I've taken a look at the 1-D solvers in CVS. A few comments
> > >
> > > 1.	fixed_point computes incorrect roots
> > 
> > On what problem?  I've used it successfully.   Thanks for 
> the pointer.
> > Please give more info.
> 
> I tried
> def f(x) :
>     return 1 - x**2
>

oops,
 
^K print 'bisection: %21.16f'%bisection(f,.5,2,tol=1e-12)

print 'fixed_pt : %21.16f'%fixed_point(f,.5,tol=1e-12)

> 
> and got .9... instead of 1. No exception was raised
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
> 



More information about the Scipy-dev mailing list