[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimizing the expint function
From: |
Mike Miller |
Subject: |
Re: Optimizing the expint function |
Date: |
Wed, 5 Feb 2014 13:05:36 -0500 |
On Wed, Feb 5, 2014 at 06:03:05 -0500, Nicanor García wrote:
> Hello,
>
> I was testing some Speech Enhancement algorithms, one of which used the
> expint (exponential integral) function and I noticed this function takes
> ages to compute.
>
> I then tried the same algorithm in MATLAB in the same machine and noticed
> that the same function takes around 1/10000th of the time it was taking in
> Octave to compute.
>
> Is there any way to optimize this function so it does work better in Octave?
Can you post some example data and timings that you are seeing from
the expint function in both Octave and Matlab?
Are you using the expint function in Octave 3.8.0? It has been
improved from the version that used to be part of the specfun Forge
package.
--
mike