Math::Symbolic::Operator is a Perl module with operators in symbolic calculations.
SYNOPSIS
use Math::Symbolic::Operator;
my $sum = Math::Symbolic::Operator->new('+', $term1, $term2);
# or:
my $division =
Math::Symbolic::Operator->new(
{
type => B_DIVISON,
operands => [$term1, $term2],
}
);
my $derivative =
Math::Symbolic::Operator->new(
{
type => U_P_DERIVATIVE,
operands => [$term],
}
);
This module implements all Math::Symbolic::Operator objects. These objects are overloaded in stringification-context to call the to_string() method on the object. In numeric and boolean context, they evaluate to their numerical representation.
For a list of supported operators, please refer to the list found below, in the documentation for the new() constructor.
Math::Symbolic::Operator inherits from Math::Symbolic::Base.
Product's homepage
Requirements:
· Perl