[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for erfinv.m
From: |
John W. Eaton |
Subject: |
Re: Patch for erfinv.m |
Date: |
Tue, 22 Jan 2008 16:34:31 -0500 |
On 21-Jan-2008, Alois Schloegl wrote:
| >> Consider the following patch for erfinv.
| >>
| >> It (1) replaces z_old and z_new by a single variable z, and
| >> (2) makes the initial checks simpler.
| >>
| >> The code becomes leaner, and a bit faster.
I applied the patch but used
## x < 1 or x > 1 ==> NaN
y(abs (x) >= 1) = NaN;
instead of
| + y(~(abs(x) < 1)) = NaN; %% x<1, x>1, x=NaN
Any reason not to make this change?
Thanks,
jwe
- Patch for erfinv.m, Alois Schloegl, 2008/01/21
- Re: Patch for erfinv.m, David Bateman, 2008/01/21
- Re: Patch for erfinv.m, Thomas Weber, 2008/01/21
- Re: Patch for erfinv.m, Alois Schloegl, 2008/01/21
- Re: Patch for erfinv.m, Alois Schloegl, 2008/01/23
- Re: Patch for erfinv.m, John W. Eaton, 2008/01/24
- Message not available
- Re: Patch for erfinv.m, John W. Eaton, 2008/01/24
- Re: Patch for erfinv.m, Alois Schloegl, 2008/01/24