Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.207.433 Times

Math::Symbolic::Custom::Transformation 2.01

Company: Steffen Muller
Date Added: October 24, 2013  |  Visits: 415

Math::Symbolic::Custom::Transformation

Report Broken Link
Printer Friendly Version


Product Homepage
Download (32 downloads)



Math::Symbolic::Custom::Transformation is a Perl extension to the Math::Symbolic module. You're assumed to be remotely familiar with that module throughout the documentation.<br /><br />This package implements transformations of Math::Symbolic trees using Math::Symbolic trees. I'll try to explain what this means in the following paragraphs.<br /><br />Until now, in order to be able to inspect a Math::Symbolic tree, one had to use the low-level Math::Symbolic interface like comparing the top node's term type with a constant (such as T_OPERATOR) and then its operator type with more constants. This has changed with the release of Math::Symbolic::Custom::Pattern.<br /><br />To modify the tree, you had to use equally low-level or even encapsulation-breaking methods. This is meant to be changed by this distribution.<br /><br />SYNOPSIS<br /><br /> use Math::Symbolic::Custom::Transformation;<br /> my $trafo = Math::Symbolic::Custom::Transformation->new(<br /> 'TREE_x + TREE_x' => '2 * TREE_x'<br /> );<br /> <br /> my $modified = $trafo->apply($math_symbolic_tree);<br /> if (defined $modified) {<br /> print "Outermost operator is a sum of two identical trees.<br />";<br /> print "Transformed it into a product. ($modified)<br />";<br /> }<br /> else {<br /> print "Transformation could not be applied.<br />";<br /> }<br /> <br /> # shortcut: new_trafo<br /> use Math::Symbolic::Custom::Transformation qw/new_trafo/;<br /><br /> # use the value() function to have the transformation compute the value<br /> # of the expression after the replacements. simplify{} works similar.<br /> my $another_trafo = new_trafo(<br /> 'TREE_foo / CONST_bar' => 'value{1/CONST_bar} * TREE_foo'<br /> );<br /> <br /> # If you'll need the same transformation but don't want to keep it around in<br /> # an object, just do this:<br /> use Memoize;<br /> memoize('new_trafo');<br /> # Then, passing the same transformation strings will result in a speedup of<br /> # about a factor 130 (on my machine) as compared to complete recreation<br /> # from strings. This is only 20% slower than using an existing<br /> # transformation.

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Changed Lowlevel Mathsymboliccustomtransformation 2 01 Modified Module Operator Print Replacements Similar Simplify Strings Trafo Transformation Tree Trees Works
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


MATH::SYMBOLIC::CUSTOM::TRANSFORMATION RELATED
FTP Clients  -  glFTPd 2.01 RC1
glFTPd is a free FTP server for UNIX based systems. It is highly configurable and its possibilities are endless. One of the main differences between many other ftp servers and glFTPd is that it has its own user database which can be completely...
2.5 MB  
Libraries  -  FreezeThaw 0.43
FreezeThaw is a Perl module for converting Perl structures to strings and back. SYNOPSIS use FreezeThaw qw(freeze thaw cmpStr safeFreeze cmpStrHard); $string = freeze $data1, $data2, $data3; ... ($olddata1, $olddata2, $olddata3) = thaw...
10.24 KB  
Modules  -  2 News Column Module 2.0
This is a hacked version of default phpnuke News module. It will allow you to show your phpnuke news in two separate columns. The module is an updated version of ZulNews module. It is compatiable with phpnuke 7.9+. It might work with older or...
30.72 KB  
Libraries  -  AtExit 2.01
AtExit is a Perl module that can perform exit processing for a program or object. SYNOPSIS use AtExit; sub cleanup { my @args = @_; print "cleanup() executing: args = @argsn"; } ## Register subroutines to be called when this program...
8.19 KB  
Utilities  -  Tmxxine 0.7
Tmxxine is a linux distribution based on Puppy Linux 2.01..
133 MB  
Utilities  -  Clipboard Magic 2.01 (95/NT)
Clipboard Magic is a freeware Windows Clipboard archiving tool. Any text copied to the Windows clipboard is automatically archived in Clipboard Magic.
 
Libraries  -  Locale::Maketext::Fuzzy 0.02
Locale::Maketext::Fuzzy is a Perl module for Maketext from already interpolated strings. SYNOPSIS package MyApp::L10N; use base Locale::Maketext::Fuzzy; # instead of Locale::Maketext package MyApp::L10N::de; use base MyApp::L10N; our...
6.14 KB  
Libraries  -  Lingua::EN::Inflect 1.89
Lingua::EN::Inflect is a Perl module that can convert singular to plural. Select "a" or "an". SYNOPSIS use Lingua::EN::Inflect qw ( PL PL_N PL_V PL_ADJ NO NUM PL_eq PL_N_eq PL_V_eq PL_ADJ_eq A AN PART_PRES ORD NUMWORDS inflect classical...
40.96 KB  
Audio Tools  -  cdrtools DVD Extensions 2.01.01a05
cdrtools DVD Extensions adds DVD support to cdrtools. OSS DVD extensions for cdrtools 2.0 is a opensource extension to add DVD support to Jörg Schillings cdrtools package. A patch for cdrtools-2.0 is created and is actually a translation of a...
15.36 KB  
Libraries  -  Similars 1.2
Similars is a Perl module that can locate similar files. SYNOPSIS [perl -S] similars.pl [--level=1] [dirs...] Similar-sized and similar-named files are picked as suspicious candidates of duplicated files. What descirbes it better than a...
10.24 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB