Math-BSpline-Curve

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  version: '1.4'
name: Math-BSpline-Curve
requires:
  List::Util: '1.26'
  Log::Any: '1.044'
  Math::BSpline::Basis: '0.001'
  Math::Matrix::Banded: '0.004'
  Module::Runtime: '0.012'
  Moo: '2.002005'
  Moo::Role: '0'
  Ref::Util: '0.010'
  Scalar::Util: '1.26'
  perl: '5.014'
  warnings: '0'
version: '0.002'
x_generated_by_perl: v5.28.1
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'

Makefile.PL  view on Meta::CPAN

  "MIN_PERL_VERSION" => "5.014",
  "NAME" => "Math::BSpline::Curve",
  "PREREQ_PM" => {
    "List::Util" => "1.26",
    "Log::Any" => "1.044",
    "Math::BSpline::Basis" => "0.001",
    "Math::Matrix::Banded" => "0.004",
    "Module::Runtime" => "0.012",
    "Moo" => "2.002005",
    "Moo::Role" => 0,
    "Ref::Util" => "0.010",
    "Scalar::Util" => "1.26",
    "warnings" => 0
  },
  "TEST_REQUIRES" => {
    "Test::More" => "0.98",
    "constant" => 0
  },
  "VERSION" => "0.002",
  "test" => {
    "TESTS" => "t/*.t"

Makefile.PL  view on Meta::CPAN



my %FallbackPrereqs = (
  "List::Util" => "1.26",
  "Log::Any" => "1.044",
  "Math::BSpline::Basis" => "0.001",
  "Math::Matrix::Banded" => "0.004",
  "Module::Runtime" => "0.012",
  "Moo" => "2.002005",
  "Moo::Role" => 0,
  "Ref::Util" => "0.010",
  "Scalar::Util" => "1.26",
  "Test::More" => "0.98",
  "constant" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};

lib/Math/BSpline/Curve.pm  view on Meta::CPAN

package Math::BSpline::Curve;
$Math::BSpline::Curve::VERSION = '0.002';
use 5.014;
use warnings;

# ABSTRACT: B-spline curves

use Moo 2.002005;
use List::Util 1.26 ('min');
use Ref::Util 0.010 ('is_plain_arrayref');
use Log::Any 1.044 ('$logger');
use Math::BSpline::Basis 0.001;



has '_degree' => (
    is       => 'ro',
    required => 1,
    init_arg => 'degree',
);

lib/Math/BSpline/Curve/Role/Approximation.pm  view on Meta::CPAN

package Math::BSpline::Curve::Role::Approximation;
$Math::BSpline::Curve::Role::Approximation::VERSION = '0.002';
# ABSTRACT: fitting a B-spline curve to a point set

use 5.014;
use warnings;

use Moo::Role;
use List::Util 1.26 ('sum0');
use Scalar::Util 1.26 ('blessed');
use Ref::Util 0.010 ('is_plain_arrayref');
use Module::Runtime 0.012 ('require_module');
use Math::BSpline::Basis 0.001;
use Math::Matrix::Banded 0.004;

requires (
    'new',
);


sub fit {



( run in 0.501 second using v1.01-cache-2.11-cpan-a5abf4f5562 )