[Pdl-devel] interpol vs interpolate

2016-10-15 Thread Karl Glazebrook
Seems to me we should fix this inconsistency in usage?

- Karl

use PDL;
$x = sequence(100);
$y = $x**2;
$x2 = sequence(10)*10;

# This works

$y2 = interpol $x2, $x, $y;
print $y2, "\n";

# This does not work
$y2 = interpolate $x2, $x, $y;
print $y2, "\n";
# But this does
($y2,$err) = interpolate $x2, $x, $y;
print $y2, "\n";


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel


Re: [Pdl-devel] ready for SciPDL 2.017?

2016-10-15 Thread Chris Marshall
Hi Karl-

PDL-2.017 is testing very well (and cleanly with all the warning fixed 
by Derek!).
Do you have an estimate time of a SciPDL-2.017 release?

Cheers,
Chris

On 9/29/2016 18:23, Karl Glazebrook wrote:
> Maybe a few days AFTER that! I will be in the middle of classes on Oct 10, 
> otherwise it is fine. I have set it up to be easy.
>
> Karl
>
>> On 29 Sep 2016, at 12:34 AM, Chris Marshall  wrote:
>>
>> Hi Karl-
>>
>> We're heading for a PDL 2.017 release on 10-Oct-2016.  There are many bugs 
>> fixed and all the warning messages seem to be gone. Will you be ready for a 
>> new SciPDL release by the 10-11th Oct?
>>
>> Thanks,
>> Chris


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel


Re: [Pdl-devel] ready for SciPDL 2.017?

2016-10-15 Thread Karl Glazebrook
In about a week. right now I don’t want to risk breaking my install as I am in 
the middle of using PDL to do critical stuff, which is also keeping me busy..


> On 16 Oct 2016, at 6:17 AM, Chris Marshall  wrote:
> 
> Hi Karl-
> 
> PDL-2.017 is testing very well (and cleanly with all the warning fixed by 
> Derek!).
> Do you have an estimate time of a SciPDL-2.017 release?
> 
> Cheers,
> Chris
> 
> On 9/29/2016 18:23, Karl Glazebrook wrote:
>> Maybe a few days AFTER that! I will be in the middle of classes on Oct 10, 
>> otherwise it is fine. I have set it up to be easy.
>> 
>> Karl
>> 
>>> On 29 Sep 2016, at 12:34 AM, Chris Marshall  wrote:
>>> 
>>> Hi Karl-
>>> 
>>> We're heading for a PDL 2.017 release on 10-Oct-2016.  There are many bugs 
>>> fixed and all the warning messages seem to be gone. Will you be ready for a 
>>> new SciPDL release by the 10-11th Oct?
>>> 
>>> Thanks,
>>> Chris
> 


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel


Re: [Pdl-devel] interpol vs interpolate

2016-10-15 Thread Chris Marshall
interpol() seems to be implemented in terms of
interpolate() already.  Does seem a bit confusing.
Maybe the two routines could be merged into a
"smarter" interpolate()...

--Chris

On 10/15/2016 05:18, Karl Glazebrook wrote:
> Seems to me we should fix this inconsistency in usage?
>
> - Karl
>
> use PDL;
> $x = sequence(100);
> $y = $x**2;
> $x2 = sequence(10)*10;
>
> # This works
>
> $y2 = interpol $x2, $x, $y;
> print $y2, "\n";
>
> # This does not work
> $y2 = interpolate $x2, $x, $y;
> print $y2, "\n";
> # But this does
> ($y2,$err) = interpolate $x2, $x, $y;
> print $y2, "\n";
>


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel