Re: [OctDev] Implementation of erfcx in specfun

2010-03-04 Thread Søren Hauberg
tor, 04 03 2010 kl. 09:32 +, skrev Neil Lawrence: > I guess it might make sense longer term to plug into the netlib > implementation by Cody: this does seem to be used as a standard. > However, there may be all sorts of difficult knock on effects from > that! The problem with Netlib (from what

Re: [OctDev] Implementation of erfcx in specfun

2010-03-04 Thread Neil Lawrence
Wow, what a great response! Thanks Guys. I'll give this new implementation a shot. I guess it might make sense longer term to plug into the netlib implementation by Cody: this does seem to be used as a standard. However, there may be all sorts of difficult knock on effects from that! I'll let you

Re: [OctDev] Implementation of erfcx in specfun

2010-03-04 Thread Jaroslav Hajek
On Thu, Mar 4, 2010 at 1:05 AM, Søren Hauberg wrote: > Hi > > ons, 03 03 2010 kl. 18:28 +, skrev Neil Lawrence: >> I'm a MATLAB user who keeps trying to convert to Octave. Octave 3.2 is >> looking v. promising! Great job. > > 3.4 will be even better :-) > >> The implementation of erfcx in the

Re: [OctDev] Implementation of erfcx in specfun

2010-03-03 Thread Søren Hauberg
ons, 03 03 2010 kl. 18:28 +, skrev Neil Lawrence: > The implementation of erfcx in the octave-specfun package is simply > > > exp(x^2)*erfc(x) Could you try the attached implementation instead? It seems to behave like the Matlab implementation, but as I don't have a real example to work on,

Re: [OctDev] Implementation of erfcx in specfun

2010-03-03 Thread Stephen Montgomery-Smith
Søren Hauberg wrote: > Hi > > ons, 03 03 2010 kl. 18:28 +, skrev Neil Lawrence: >> I'm a MATLAB user who keeps trying to convert to Octave. Octave 3.2 is >> looking v. promising! Great job. > > 3.4 will be even better :-) > >> The implementation of erfcx in the octave-specfun package is simply

Re: [OctDev] Implementation of erfcx in specfun

2010-03-03 Thread Søren Hauberg
Hi ons, 03 03 2010 kl. 18:28 +, skrev Neil Lawrence: > I'm a MATLAB user who keeps trying to convert to Octave. Octave 3.2 is > looking v. promising! Great job. 3.4 will be even better :-) > The implementation of erfcx in the octave-specfun package is simply > > > exp(x^2)*erfc(x) [snip]

[OctDev] Implementation of erfcx in specfun

2010-03-03 Thread Neil Lawrence
Hi List, I'm a MATLAB user who keeps trying to convert to Octave. Octave 3.2 is looking v. promising! Great job. This is an issue I've come across when using Octave. The implementation of erfcx in the octave-specfun package is simply exp(x^2)*erfc(x) Since the idea of this function is to ens