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

Reply via email to