• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Math/SymbolicX/H20-Dec-2007-565288

t/H20-Dec-2007-217187

Build.PLH A D20-Dec-2007627 2620

ChangesH A D20-Dec-2007560 1913

MANIFESTH A D20-Dec-2007156 1211

META.ymlH A D20-Dec-2007593 2625

Makefile.PLH A D20-Dec-2007556 1715

READMEH A D20-Dec-20071.7 KiB6746

README

1Math-SymbolicX-Inline
2=====================
3
4This module is an extension to the Math::Symbolic module. A basic
5familiarity with that module is required.
6
7Math::SymbolicX::Inline allows easy creation of Perl functions from
8symbolic expressions in the context of Math::Symbolic. That means
9you can define arbitrary Math::Symbolic trees (including derivatives)
10and let this module compile them to package subroutines.
11
12There are relatively few syntax elements that aren't standard in
13Math::Symbolic expressions, but those that exist are easier to
14explain using examples. Thus, please refer to the discussion of
15a simple example below which can be found in the manual page
16of the module.
17
18Simple, contrived example:
19use Math::SymbolicX::Inline <<'HERE';
20myfunction = partial_derivative( sin(x) * sin(x), x )
21x (:=) arg0
22HERE
23print myfunction(3);
24# prints the derivative of sin(x)**2 evaluated at x=3
25
26
27INSTALLATION
28
29To install this module type the following:
30
31   perl Build.PL
32   ./Build
33   ./Build test
34   ./Build install
35
36On platforms that don't support the "./" notation, that would be:
37
38   perl Build.PL
39   perl Build
40   perl Build test
41   perl Build install
42
43If you wish, you may use the old MakeMaker style instead:
44
45   perl Makefile.PL
46   make
47   make test
48   make install
49
50DEPENDENCIES
51
52This module requires these other modules and libraries:
53
54  Math::Symbolic (version 0.129 an higher)
55  Math::Symbolic::Custom::Contains (version 0.010 an higher)
56  Test::More
57
58COPYRIGHT AND LICENCE
59
60Copyright (C) 2005-2006 by Steffen M�ller
61
62This library is free software; you can redistribute it and/or modify
63it under the same terms as Perl itself, either Perl version 5.6 or,
64at your option, any later version of Perl 5 you may have available.
65
66
67