On Mon, Jan 3, 2011 at 7:35 PM, Søren Hauberg <so...@hauberg.org> wrote:
> man, 03 01 2011 kl. 19:24 +0100, skrev Juan Pablo Carbajal:
>> Dear all,
>> The following lines where giving no errors in Octave 3.2.4 (Ubuntu 10.10)
>> x = linspace(0,1,10);
>> y = sin(2*pi*3*x);
>> pp = spline(x, y);
>> xi = 0:0.3:1;
>> yi = ppval(pp,xi);
>> ppd = fnder(pp,1);
>> dyi = ppval(ppd,xi);
>>
>> In 3.3.54 and the repository version the last line gives the following error
>> error: ppval: A(I,J,...): index to dimension 2 out of bounds; value 9
>> out of bound 8
>> error: called from:
>> error:   ppval.m at line 69, column 4
>>
>> If I change xi for
>>
>> xi=linspace(0,8/9-eps,10);
>>
>> then
>> dyi = ppval(ppd,xi);
>>
>> works fine
>>
>> Apparently the domain of the derivative gets shrinked, though there is
>> no help in the help of any of the functions.
>>
>> Is this a BUG or is an undocumented fix?
>
> My guess would be a bug. Could you please file a bug report in the
> Octave bug tracker? http://bugs.octave.org
>
> Thanks
> Søren
>
>

Sure, right now


-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
www.ailab.ch/carbajal

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to