File: run17.pl

package info (click to toggle)
libmath-symbolic-perl 0.613-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,268 kB
  • sloc: perl: 12,638; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl
use strict;
use warnings;

use lib '../lib/';
use Math::Symbolic qw/:all/;
use Math::Symbolic::VectorCalculus qw/:all/;

my $taylor = TaylorPolyTwoDim 'x*y', 'x', 'y', 8, 'x0', 'y0';
print $taylor, "\n\n";

print $taylor->apply_derivatives()->simplify();