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,!
pdl-devel mailing list

Reply via email to