[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error function
From: |
Rob Mahurin |
Subject: |
Re: Error function |
Date: |
Thu, 2 Jul 2009 10:40:30 -0400 |
On Jul 2, 2009, at 6:41 AM, Marcin Sleczka wrote:
I've got a problem with an error function. I would like to compute
error
function with complex argument. I know that it isn't possible with
erf(x)
function. Few months ago (when I have Octave 3.0.x) I downloaded
erfz(z)
which could compute error function with complex inputs. Now when I
have
newest Octave it's impossible. I obtain error massage:
error:
error: called from:
error: ~/erfz.m at line 20, column 4
It's possible to compute error function with complex inputs in newest
Octave?
I guess from googling you got your erfz.m from
http://www.mathworks.com/matlabcentral/files/3574/erfz.m
That function begins with
error(nargchk(1, 1, nargin));
and runs if you comment out that line.
This looks like a compatibility bug in error, which is fixed by the
attached. Jaroslav, please also apply this to the 3.2.x series.
Rob
--
Rob Mahurin
University of Manitoba, Dept. of Physics & Astronomy
at: Oak Ridge National Laboratory 865 207 2594
Oak Ridge, Tennessee address@hidden
error.patch
Description: Binary data
- Error function, Marcin Sleczka, 2009/07/02
- Re: Error function,
Rob Mahurin <=