Math::Symbolic::Custom::Pattern

Current version is 2.00.

Download

Distribution from this site.
CPAN site

README

Math::Symbolic::Custom::Pattern version 1.11
============================================

This module is an extension to the Math::Symbolic module. A basic
familiarity with that module is required.

The Math::Symbolic::Custom::Pattern module implements pattern matching routines
on Math::Symbolic trees. The patterns itself are constructed from
Math::Symbolic trees with just a few variables which have a special meaning.

Example pattern "VAR_foo + CONST*VAR_foo + VAR_bar + TREE"
matches "a + 4*a + b + sin(a*b+c-d)", but not "a + 4*c + b + sin(a*b+c-d)"
since the beginning "a +" sets VAR_foo to be "a" and "4*c" contradicts that.
Refer to the documentation for details.

INSTALLATION

To install this module type the following:

   perl Build.PL
   ./Build
   ./Build test
   ./Build install

On platforms that don't support the "./" notation, that would be:

   perl Build.PL
   perl Build
   perl Build test
   perl Build install

If you wish, you may use the old MakeMaker style instead:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

For list of dependencies that includes versions, please refer to the
META.yml file in this distribution.

  Math::Symbolic
  Test::More

COPYRIGHT AND LICENCE

Copyright (C) 2005 by Steffen Müller

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.6.1,
at your option, any later version of Perl 5 you may have available.

	

Documentation

Math::Symbolic::Custom::Pattern
Math::Symbolic::Custom::Pattern::Export

Change Log

Revision history for Perl extension Math::Symbolic::Custom::Pattern.

2.00  Sun Jan 27 19:56 2008
  - Added commutative matching. Requires Math::Symbolic 0.510.

1.21  Tue Dec 30 18:32 2006
  - Replaced use constant { FOO => 1, BAR => 2 }; with separate use
    constant expressions. The extended syntax might have caused trouble
    with pre 5.8 perls. (If you are affected. UPGRADE!)

1.20  Tue Dec 12 16:27 2006
  - Added to_string() method.

1.11  Sun Jan 15 18:23 2006
  - Added Clone to the list of dependencies.
  - Upgraded Math::Symbolic version.

1.10  Wed Oct 12 22:32 2005
  - Now using Module::Build.
  - Now match() returns meta information on how the tree matched.

1.02  Thu Sep  9 21:47 2005
  - Added license info to META.yml
  - Fixed trouble with Math::Symbolic version requirement.
  - Bumped Math::Symbolic requirement to 0.162

1.00  Thu Sep  9 21:47 2005
  - original version as uploaded to CPAN
    

(c) 2002-2010 Steffen Müller; All rights reserved.

Valid HTML 4.0!