Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

math::symbolic::custom::defaultdumpers(3pm) [debian man page]

Math::Symbolic::Custom::DefaultDumpers(3pm)		User Contributed Perl Documentation	       Math::Symbolic::Custom::DefaultDumpers(3pm)

NAME
Math::Symbolic::Custom::DefaultDumpers - Default Math::Symbolic output routines SYNOPSIS
use Math::Symbolic qw/parse_from_string/; $term = parse_from_string(...); my ($sub, $leftover_trees) = $term->to_sub(); DESCRIPTION
This is a class of default output routines for Math::Symbolic trees. Likewise, Math::Symbolic::Custom::DefaultTests defines default tree testing routines and Math::Symbolic::Custom::DefaultMods has default tree modification methods. For details on how the custom method delegation model works, please have a look at the Math::Symbolic::Custom and Math::Symbolic::Custom::Base classes. EXPORT Please see the docs for Math::Symbolic::Custom::Base for details, but you should not try to use the standard Exporter semantics with this class. SUBROUTINES
to_string The to_string method is currently implemented in the module core namespaces and will be moved to Math::Symbolic::DefaultDumpers in a future release. Takes one optional argument indicating whether the Math::Symbolic tree should be transformed to a string using 'postfix' notation or using 'infix' notation. Default is infix which is also more likely to be reparseable by the Math::Symbolic parser. to_code This method is a wrapper around the compile_to_code class method in the Math::Symbolic::Compiler module. Takes key/value pairs of variables and integers as argument. The integers should starting at 0 and they determine the order of the variables/parameters to the compiled code. Returns the compiled code and a reference to an array of possible leftover tree elements that could not be compiled. Please refer to the Math::Symbolic::Compiler man page for details. to_sub This method is a wrapper around the compile_to_sub class method in the Math::Symbolic::Compiler module. Takes key/value pairs of variables and integers as argument. The integers should starting at 0 and they determine the order of the variables/parameters to the compiled code. Returns the compiled sub and a reference to an array of possible leftover tree elements that could not be compiled. Please refer to the Math::Symbolic::Compiler man page for details. AUTHOR
Please send feedback, bug reports, and support requests to the Math::Symbolic support mailing list: math-symbolic-support at lists dot sourceforge dot net. Please consider letting us know how you use Math::Symbolic. Thank you. If you're interested in helping with the development or extending the module's functionality, please contact the developers' mailing list: math-symbolic-develop at lists dot sourceforge dot net. List of contributors: Steffen Mueller, symbolic-module at steffen-mueller dot net Stray Toaster, mwk at users dot sourceforge dot net Oliver Ebenhoeh SEE ALSO
New versions of this module can be found on http://steffen-mueller.net or CPAN. The module development takes place on Sourceforge at http://sourceforge.net/projects/math-symbolic/ Math::Symbolic::Custom Math::Symbolic::Custom::DefaultMods Math::Symbolic::Custom::DefaultTests Math::Symbolic perl v5.10.1 2011-01-01 Math::Symbolic::Custom::DefaultDumpers(3pm)

Check Out this Related Man Page

Math::Symbolic::AuxFunctions(3pm)			User Contributed Perl Documentation			 Math::Symbolic::AuxFunctions(3pm)

NAME
Math::Symbolic::AuxFunctions - Auxiliary functions for Math::Symbolic hierarchy SYNOPSIS
use Math::Symbolic::AuxFunctions; Math::Symbolic::AuxFunctions::acos($x); # etc DESCRIPTION
This module contains implementations of some auxiliary functions that are used within the Math::Symbolic hierarchy of modules. In particular, this module holds all trigonometric functions used for numeric evaluation of trees by Math::Symbolic::Operator. EXPORT None. On purpose. If I wished this module would pollute others' namespaces, I'd have put the functions right where they're used. TRIGONOMETRIC FUNCTIONS
tan Computes the tangent sin(x) / cos(x). cot Computes the cotangent cos(x) / sin(x). asin Computes the arc sine asin(z) = -i log(iz + sqrt(1-z*z)). Above formula is for complex numbers. acos Computes the arc cosine acos(z) = -i log(z + sqrt(z*z-1)). Above formula is for complex numbers. atan Computes the arc tangent atan(z) = i/2 log((i+z) / (i-z)). Above formula is for complex numbers. acot Computes the arc cotangent ( atan( 1 / x ) ). asinh Computes the arc hyperbolic sine asinh(z) = log(z + sqrt(z*z+1)) acosh Computes the arc hyperbolic cosine acosh(z) = log(z + sqrt(z*z-1)). OTHER FUNCTIONS
binomial_coeff Calculates the binomial coefficient n over k of its first two arguments (n, k). Code taken from Orwant et al, "Mastering Algorithms with Perl" bell_number The Bell numbers are defined as follows: B_0 = 1 B_n+1 = sum_k=0_to_n( B_k * binomial_coeff(n, k) ) This function uses memoization. AUTHOR
Please send feedback, bug reports, and support requests to the Math::Symbolic support mailing list: math-symbolic-support at lists dot sourceforge dot net. Please consider letting us know how you use Math::Symbolic. Thank you. If you're interested in helping with the development or extending the module's functionality, please contact the developers' mailing list: math-symbolic-develop at lists dot sourceforge dot net. List of contributors: Steffen Mueller, symbolic-module at steffen-mueller dot net Stray Toaster, mwk at users dot sourceforge dot net Oliver Ebenhoeh SEE ALSO
New versions of this module can be found on http://steffen-mueller.net or CPAN. The module development takes place on Sourceforge at http://sourceforge.net/projects/math-symbolic/ Math::Symbolic perl v5.10.1 2011-01-01 Math::Symbolic::AuxFunctions(3pm)
Man Page