Re: [OctDev] complex error function

2012-11-21 Thread Steven G. Johnson
On 11/20/12 5:54 PM, Michael D. Godfrey wrote: > Also keep in mind that this will need to be compatible with > the Matlab complex erf(z). The Matlab erf function does not support complex arguments: http://www.mathworks.com/help/matlab/ref/erf.html (There are several complex erf implementati

Re: [OctDev] complex error function

2012-11-20 Thread Daniel J Sebald
On 11/20/2012 07:43 PM, Nir Krakauer wrote: > Can the contributed functions be given names that don't conflict with > the current Octave ones, like erf_complex? That way there should be no > problem with putting them either in specfun or as their own Octave > package. That's an alternative. Yet i

Re: [OctDev] complex error function

2012-11-20 Thread Nir Krakauer
Can the contributed functions be given names that don't conflict with the current Octave ones, like erf_complex? That way there should be no problem with putting them either in specfun or as their own Octave package. -- Mo

Re: [OctDev] complex error function

2012-11-20 Thread Michael D. Godfrey
Also keep in mind that this will need to be compatible with the Matlab complex erf(z). -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databa

Re: [OctDev] complex error function

2012-11-20 Thread Daniel J Sebald
Hi Steven, Some comments below with regards to Jordi's observations on integration. On 11/20/2012 03:33 PM, Jordi Gutiérrez Hermoso wrote: > On 4 November 2012 00:34, Steven G. Johnson wrote: >> There is an updated version of my package >> (http://ab-initio.mit.edu/Faddeeva) which computes not

Re: [OctDev] complex error function

2012-11-20 Thread Jordi Gutiérrez Hermoso
On 4 November 2012 00:34, Steven G. Johnson wrote: > There is an updated version of my package > (http://ab-initio.mit.edu/Faddeeva) which computes not only the Faddeeva > function (the scaled complex error function) but also the ordinary erf > and erfc functions of complex arguments, as well as t

Re: [OctDev] complex error function

2012-11-03 Thread Steven G. Johnson
There is an updated version of my package (http://ab-initio.mit.edu/Faddeeva) which computes not only the Faddeeva function (the scaled complex error function) but also the ordinary erf and erfc functions of complex arguments, as well as the erfcx and erfi variants and the Dawson function (a sc

Re: [OctDev] complex error function

2012-10-27 Thread Steven G. Johnson
Juan Pablo Carbajal wrote: > You can upload your function to the feature request forum > https://sourceforge.net/p/octave/feature-requests/ > > Then we can look at your code and suggest improvements, etc..., if needed. I've created a ticket: https://sourceforge.net/p/octave/feature-reque

Re: [OctDev] complex error function

2012-10-27 Thread Steven G. Johnson
Juan Pablo Carbajal wrote: > Then we can look at your code and suggest improvements, etc..., if needed. > > In which field is your function used the most? The complex error function (generalizing erf, erfc, and erfx) is used in lots of fields. We needed it to solve electromagnetic scattering p

Re: [OctDev] complex error function

2012-10-27 Thread Steven G. Johnson
Jordi Gutiérrez Hermoso wrote: > On 24 October 2012 23:34, Steven G. Johnson wrote: >> Hi all, in case there is interest I wanted to let you know that I've >> written a free complex-argument error function in C++ with an Octave >> wrapper at: >> >> http://ab-initio.mit.edu/wiki/index.php/F

Re: [OctDev] complex error function

2012-10-25 Thread Jordi Gutiérrez Hermoso
On 24 October 2012 23:34, Steven G. Johnson wrote: > Hi all, in case there is interest I wanted to let you know that I've > written a free complex-argument error function in C++ with an Octave > wrapper at: > > http://ab-initio.mit.edu/wiki/index.php/Faddeeva_w Thanks. This belongs in cor

Re: [OctDev] complex error function

2012-10-25 Thread Robert T. Short
On 10/24/2012 11:42 PM, Juan Pablo Carbajal wrote: > On Thu, Oct 25, 2012 at 5:34 AM, Steven G. Johnson > wrote: >> Hi all, in case there is interest I wanted to let you know that I've >> written a free complex-argument error function in C++ with an Octave >> wrapper at: >> >> http://ab-

Re: [OctDev] complex error function

2012-10-24 Thread Juan Pablo Carbajal
On Thu, Oct 25, 2012 at 5:34 AM, Steven G. Johnson wrote: > Hi all, in case there is interest I wanted to let you know that I've > written a free complex-argument error function in C++ with an Octave > wrapper at: > > http://ab-initio.mit.edu/wiki/index.php/Faddeeva_w > > (This is the Fadd

[OctDev] complex error function

2012-10-24 Thread Steven G. Johnson
Hi all, in case there is interest I wanted to let you know that I've written a free complex-argument error function in C++ with an Octave wrapper at: http://ab-initio.mit.edu/wiki/index.php/Faddeeva_w (This is the Faddeeva function w(z), which is equivalent to erfcx(iz) where erfcx is