The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Math::Function::Interpolator::Linear - Interpolation made easy

SYNOPSIS

    use Math::Function::Interpolator::Linear;

    my $interpolator = Math::Function::Interpolator::Linear->new(
        points => {1=>2,2=>3,3=>4}
    );

    $interpolator->linear(2.5);

DESCRIPTION

Math::Function::Interpolator::Linear helps you to do the interpolation calculation with linear method. It solves for point_y linearly given point_x and an array of more than 2 data points.

FIELDS

points (REQUIRED)

HashRef of points for interpolations

METHODS

linear

linear

AUTHOR

Binary.com, <perl at binary.com>

BUGS

Please report any bugs or feature requests to bug-math-function-interpolator at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Math-Function-Interpolator. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Math::Function::Interpolator

You can also look for information at:

ACKNOWLEDGEMENTS