Math-Taylor
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Math/Taylor.pm view on Meta::CPAN
# Clone prototype if applicable.
if ( ref($proto) ) {
$self->{function} = $proto->{function}->new();
$self->{variable} = $proto->{variable}->new()
if defined $proto->{variable};
$self->{point} = $proto->{point} if defined $proto->{point};
$self->{remainder_type} = $proto->{remainder_type}
if defined $proto->{remainder_type};
}
bless $self => $class;
$self->function( $args{function} ) if exists $args{function};
$self->variable( $args{variable} ) if exists $args{variable};
$self->point( $args{point} ) if exists $args{point};
confess "Cannot create a Math::Taylor object without at least a function."
if not defined $self->function();
return $self;
}
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.982 second using v1.00-cache-2.02-grep-82fe00e-cpan-1925d2aa809 )