Start 2010-04-28T15:32:24
ActivePerl-1200 CPAN-1.9402
Going to read '/Users/fly1200/var/cpan/Metadata'
Database was generated on Tue, 27 Apr 2010 21:27:07 GMT
Running make for T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
Checksum for /Users/fly1200/var/cpan/sources/authors/id/T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz ok
Acme-AlgebraicToRPN-0.02/
Acme-AlgebraicToRPN-0.02/README
Acme-AlgebraicToRPN-0.02/t/
Acme-AlgebraicToRPN-0.02/t/pod-coverage.t
Acme-AlgebraicToRPN-0.02/t/00-load.t
Acme-AlgebraicToRPN-0.02/t/01-test.t
Acme-AlgebraicToRPN-0.02/t/pod.t
Acme-AlgebraicToRPN-0.02/META.yml
Acme-AlgebraicToRPN-0.02/lib/
Acme-AlgebraicToRPN-0.02/lib/Acme/
Acme-AlgebraicToRPN-0.02/lib/Acme/AlgebraicToRPN.pm
Acme-AlgebraicToRPN-0.02/Makefile.PL
Acme-AlgebraicToRPN-0.02/MANIFEST
Acme-AlgebraicToRPN-0.02/Changes
CPAN.pm: Going to build T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
>>> /Users/fly1200/bin/perl Makefile.PL
Warning: prerequisite Math::Symbolic 0.603 not found.
Warning: prerequisite Math::SymbolicX::ParserExtensionFactory 3.02 not found.
Checking if your kit is complete...
Looks good
Writing Makefile for Acme::AlgebraicToRPN
---- Unsatisfied dependencies detected during ----
---- THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz ----
Math::Symbolic [requires]
Math::SymbolicX::ParserExtensionFactory [requires]
Running make test
Delayed until after prerequisites
Running test for module 'Math::Symbolic'
Running make for S/SM/SMUELLER/Math-Symbolic-0.603.tar.gz
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/S/SM/SMUELLER/Math-Symbolic-0.603.tar.gz
Checksum for /Users/fly1200/var/cpan/sources/authors/id/S/SM/SMUELLER/Math-Symbolic-0.603.tar.gz ok
Math-Symbolic-0.603/
Math-Symbolic-0.603/TODO
Math-Symbolic-0.603/compile_yapp_parser.pl
Math-Symbolic-0.603/README
Math-Symbolic-0.603/t/
Math-Symbolic-0.603/t/09hyperbolic.t
Math-Symbolic-0.603/t/15total_derivatives.t
Math-Symbolic-0.603/t/03exp.t
Math-Symbolic-0.603/t/01basic.t
Math-Symbolic-0.603/t/18vectorcalc.t
Math-Symbolic-0.603/t/05unary_minus.t
Math-Symbolic-0.603/t/14compile.t
Math-Symbolic-0.603/t/00pod.t
Math-Symbolic-0.603/t/12overload.t
Math-Symbolic-0.603/t/21more_derivatives.t
Math-Symbolic-0.603/t/00podcover.t
Math-Symbolic-0.603/t/08parse_hyperbolic.t
Math-Symbolic-0.603/t/06parser.t
Math-Symbolic-0.603/t/13parse_more.t
Math-Symbolic-0.603/t/11trigonometric.t
Math-Symbolic-0.603/t/20miscalgebra.t
Math-Symbolic-0.603/t/17modifications.t
Math-Symbolic-0.603/t/19misccalc.t
Math-Symbolic-0.603/t/04deep_derivatives.t
Math-Symbolic-0.603/t/10hyperbolic.t
Math-Symbolic-0.603/t/07simple_trig.t
Math-Symbolic-0.603/t/02basic.t
Math-Symbolic-0.603/t/22dumpers.t
Math-Symbolic-0.603/t/00dist.t
Math-Symbolic-0.603/t/16tests.t
Math-Symbolic-0.603/Changes
Math-Symbolic-0.603/Yapp.yp
Math-Symbolic-0.603/MANIFEST
Math-Symbolic-0.603/examples/
Math-Symbolic-0.603/examples/run16.pl
Math-Symbolic-0.603/examples/run19.pl
Math-Symbolic-0.603/examples/run18.pl
Math-Symbolic-0.603/examples/run07.pl
Math-Symbolic-0.603/examples/run05.pl
Math-Symbolic-0.603/examples/run10.pl
Math-Symbolic-0.603/examples/run02.pl
Math-Symbolic-0.603/examples/run06.pl
Math-Symbolic-0.603/examples/run03.pl
Math-Symbolic-0.603/examples/run13.pl
Math-Symbolic-0.603/examples/run11.pl
Math-Symbolic-0.603/examples/run04.pl
Math-Symbolic-0.603/examples/run15.pl
Math-Symbolic-0.603/examples/run09.pl
Math-Symbolic-0.603/examples/run01.pl
Math-Symbolic-0.603/examples/run17.pl
Math-Symbolic-0.603/examples/run20.pl
Math-Symbolic-0.603/examples/run08.pl
Math-Symbolic-0.603/examples/run12.pl
Math-Symbolic-0.603/examples/run14.pl
Math-Symbolic-0.603/Makefile.PL
Math-Symbolic-0.603/META.yml
Math-Symbolic-0.603/lib/
Math-Symbolic-0.603/lib/Math/
Math-Symbolic-0.603/lib/Math/Symbolic/
Math-Symbolic-0.603/lib/Math/Symbolic/Variable.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Custom.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Parser.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Compiler.pm
Math-Symbolic-0.603/lib/Math/Symbolic/AuxFunctions.pm
Math-Symbolic-0.603/lib/Math/Symbolic/ExportConstants.pm
Math-Symbolic-0.603/lib/Math/Symbolic/MiscAlgebra.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Parser/
Math-Symbolic-0.603/lib/Math/Symbolic/Parser/Yapp.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Parser/Precompiled.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Derivative.pm
Math-Symbolic-0.603/lib/Math/Symbolic/MiscCalculus.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Base.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Operator.pm
Math-Symbolic-0.603/lib/Math/Symbolic/VectorCalculus.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Custom/
Math-Symbolic-0.603/lib/Math/Symbolic/Custom/DefaultDumpers.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Custom/DefaultTests.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Custom/DefaultMods.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Custom/Base.pm
Math-Symbolic-0.603/lib/Math/Symbolic/Constant.pm
Math-Symbolic-0.603/lib/Math/Symbolic.pm
Math-Symbolic-0.603/Build.PL
CPAN.pm: Going to build S/SM/SMUELLER/Math-Symbolic-0.603.tar.gz
>>> /Users/fly1200/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Math::Symbolic
>>> make
cp compile_yapp_parser.pl blib/lib/Math/compile_yapp_parser.pl
cp lib/Math/Symbolic/MiscAlgebra.pm blib/lib/Math/Symbolic/MiscAlgebra.pm
cp lib/Math/Symbolic/Custom/DefaultTests.pm blib/lib/Math/Symbolic/Custom/DefaultTests.pm
cp lib/Math/Symbolic/Compiler.pm blib/lib/Math/Symbolic/Compiler.pm
cp lib/Math/Symbolic/Constant.pm blib/lib/Math/Symbolic/Constant.pm
cp lib/Math/Symbolic/VectorCalculus.pm blib/lib/Math/Symbolic/VectorCalculus.pm
cp lib/Math/Symbolic/Custom/DefaultDumpers.pm blib/lib/Math/Symbolic/Custom/DefaultDumpers.pm
cp lib/Math/Symbolic/AuxFunctions.pm blib/lib/Math/Symbolic/AuxFunctions.pm
cp lib/Math/Symbolic/Custom.pm blib/lib/Math/Symbolic/Custom.pm
cp lib/Math/Symbolic/Variable.pm blib/lib/Math/Symbolic/Variable.pm
cp lib/Math/Symbolic/Custom/DefaultMods.pm blib/lib/Math/Symbolic/Custom/DefaultMods.pm
cp lib/Math/Symbolic/Parser/Yapp.pm blib/lib/Math/Symbolic/Parser/Yapp.pm
cp lib/Math/Symbolic/Parser/Precompiled.pm blib/lib/Math/Symbolic/Parser/Precompiled.pm
cp lib/Math/Symbolic/MiscCalculus.pm blib/lib/Math/Symbolic/MiscCalculus.pm
cp lib/Math/Symbolic/Custom/Base.pm blib/lib/Math/Symbolic/Custom/Base.pm
cp lib/Math/Symbolic/Base.pm blib/lib/Math/Symbolic/Base.pm
cp lib/Math/Symbolic/Parser.pm blib/lib/Math/Symbolic/Parser.pm
cp lib/Math/Symbolic/Operator.pm blib/lib/Math/Symbolic/Operator.pm
cp lib/Math/Symbolic.pm blib/lib/Math/Symbolic.pm
cp lib/Math/Symbolic/ExportConstants.pm blib/lib/Math/Symbolic/ExportConstants.pm
cp lib/Math/Symbolic/Derivative.pm blib/lib/Math/Symbolic/Derivative.pm
Manifying blib/man3/Math::Symbolic::Custom::DefaultTests.3
Manifying blib/man3/Math::Symbolic::MiscAlgebra.3
Manifying blib/man3/Math::Symbolic::Compiler.3
Manifying blib/man3/Math::Symbolic::Constant.3
Manifying blib/man3/Math::Symbolic::VectorCalculus.3
Manifying blib/man3/Math::Symbolic::Custom::DefaultDumpers.3
Manifying blib/man3/Math::Symbolic::AuxFunctions.3
Manifying blib/man3/Math::Symbolic::Custom.3
Manifying blib/man3/Math::Symbolic::Custom::DefaultMods.3
Manifying blib/man3/Math::Symbolic::Variable.3
Manifying blib/man3/Math::Symbolic::Parser::Precompiled.3
Manifying blib/man3/Math::Symbolic::MiscCalculus.3
Manifying blib/man3/Math::Symbolic::Custom::Base.3
Manifying blib/man3/Math::Symbolic::Base.3
Manifying blib/man3/Math::Symbolic::Operator.3
Manifying blib/man3/Math::Symbolic::Parser.3
Manifying blib/man3/Math::Symbolic.3
Manifying blib/man3/Math::Symbolic::Derivative.3
Manifying blib/man3/Math::Symbolic::ExportConstants.3
SMUELLER/Math-Symbolic-0.603.tar.gz
make -- OK
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly1200/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00dist.t ...............
1..65
ok 1 - Checking MANIFEST integrity
ok 2 - use Math::Symbolic;
ok 3 - use Math::Symbolic::AuxFunctions;
ok 4 - use Math::Symbolic::Base;
ok 5 - use Math::Symbolic::Compiler;
ok 6 - use Math::Symbolic::Constant;
ok 7 - use Math::Symbolic::Custom;
ok 8 - use Math::Symbolic::Derivative;
ok 9 - use Math::Symbolic::ExportConstants;
ok 10 - use Math::Symbolic::MiscAlgebra;
ok 11 - use Math::Symbolic::MiscCalculus;
ok 12 - use Math::Symbolic::Operator;
ok 13 - use Math::Symbolic::Parser;
ok 14 - use Math::Symbolic::Variable;
ok 15 - use Math::Symbolic::VectorCalculus;
ok 16 - use Math::Symbolic::Custom::Base;
ok 17 - use Math::Symbolic::Custom::DefaultDumpers;
ok 18 - use Math::Symbolic::Custom::DefaultMods;
ok 19 - use Math::Symbolic::Custom::DefaultTests;
ok 20 - use Math::Symbolic::Parser::Precompiled;
ok 21 - use Math::Symbolic::Parser::Yapp;
ok 22 - Math::Symbolic defines a version
ok 23 - Math::Symbolic::AuxFunctions defines a version
ok 24 - Math::Symbolic::Base defines a version
ok 25 - Math::Symbolic::Compiler defines a version
ok 26 - Math::Symbolic::Constant defines a version
ok 27 - Math::Symbolic::Custom defines a version
ok 28 - Math::Symbolic::Derivative defines a version
ok 29 - Math::Symbolic::ExportConstants defines a version
ok 30 - Math::Symbolic::MiscAlgebra defines a version
ok 31 - Math::Symbolic::MiscCalculus defines a version
ok 32 - Math::Symbolic::Operator defines a version
ok 33 - Math::Symbolic::Parser defines a version
ok 34 - Math::Symbolic::Variable defines a version
ok 35 - Math::Symbolic::VectorCalculus defines a version
ok 36 - Math::Symbolic::Custom::Base defines a version
ok 37 - Math::Symbolic::Custom::DefaultDumpers defines a version
ok 38 - Math::Symbolic::Custom::DefaultMods defines a version
ok 39 - Math::Symbolic::Custom::DefaultTests defines a version
ok 40 - Math::Symbolic::Parser::Precompiled defines a version
ok 41 - Math::Symbolic::Parser::Yapp defines a version
ok 42 - POD test for blib/lib/Math/Symbolic.pm
ok 43 - POD test for blib/lib/Math/Symbolic/AuxFunctions.pm
ok 44 - POD test for blib/lib/Math/Symbolic/Base.pm
ok 45 - POD test for blib/lib/Math/Symbolic/Compiler.pm
ok 46 - POD test for blib/lib/Math/Symbolic/Constant.pm
ok 47 - POD test for blib/lib/Math/Symbolic/Custom.pm
ok 48 - POD test for blib/lib/Math/Symbolic/Derivative.pm
ok 49 - POD test for blib/lib/Math/Symbolic/ExportConstants.pm
ok 50 - POD test for blib/lib/Math/Symbolic/MiscAlgebra.pm
ok 51 - POD test for blib/lib/Math/Symbolic/MiscCalculus.pm
ok 52 - POD test for blib/lib/Math/Symbolic/Operator.pm
ok 53 - POD test for blib/lib/Math/Symbolic/Parser.pm
ok 54 - POD test for blib/lib/Math/Symbolic/Variable.pm
ok 55 - POD test for blib/lib/Math/Symbolic/VectorCalculus.pm
ok 56 - POD test for blib/lib/Math/Symbolic/Custom/Base.pm
ok 57 - POD test for blib/lib/Math/Symbolic/Custom/DefaultDumpers.pm
ok 58 - POD test for blib/lib/Math/Symbolic/Custom/DefaultMods.pm
ok 59 - POD test for blib/lib/Math/Symbolic/Custom/DefaultTests.pm
ok 60 - POD test for blib/lib/Math/Symbolic/Parser/Precompiled.pm
ok 61 - POD test for blib/lib/Math/Symbolic/Parser/Yapp.pm (no pod)
ok 62 - MANIFEST exists
ok 63 - README exists
ok 64 - Changes(.pod)? or ChangeLog(.pod)? exists
ok 65 - Build.PL or Makefile.PL exists
ok
t/00pod.t ................
1..21
ok 1 - POD test for blib/lib/Math/compile_yapp_parser.pl (no pod)
ok 2 - POD test for blib/lib/Math/Symbolic.pm
ok 3 - POD test for blib/lib/Math/Symbolic/AuxFunctions.pm
ok 4 - POD test for blib/lib/Math/Symbolic/Base.pm
ok 5 - POD test for blib/lib/Math/Symbolic/Compiler.pm
ok 6 - POD test for blib/lib/Math/Symbolic/Constant.pm
ok 7 - POD test for blib/lib/Math/Symbolic/Custom.pm
ok 8 - POD test for blib/lib/Math/Symbolic/Derivative.pm
ok 9 - POD test for blib/lib/Math/Symbolic/ExportConstants.pm
ok 10 - POD test for blib/lib/Math/Symbolic/MiscAlgebra.pm
ok 11 - POD test for blib/lib/Math/Symbolic/MiscCalculus.pm
ok 12 - POD test for blib/lib/Math/Symbolic/Operator.pm
ok 13 - POD test for blib/lib/Math/Symbolic/Parser.pm
ok 14 - POD test for blib/lib/Math/Symbolic/Variable.pm
ok 15 - POD test for blib/lib/Math/Symbolic/VectorCalculus.pm
ok 16 - POD test for blib/lib/Math/Symbolic/Custom/Base.pm
ok 17 - POD test for blib/lib/Math/Symbolic/Custom/DefaultDumpers.pm
ok 18 - POD test for blib/lib/Math/Symbolic/Custom/DefaultMods.pm
ok 19 - POD test for blib/lib/Math/Symbolic/Custom/DefaultTests.pm
ok 20 - POD test for blib/lib/Math/Symbolic/Parser/Precompiled.pm
ok 21 - POD test for blib/lib/Math/Symbolic/Parser/Yapp.pm (no pod)
ok
t/00podcover.t ...........
1..22
ok 1 - use Math::Symbolic;
ok 2 - use Math::Symbolic::MiscAlgebra;
ok 3 - use Math::Symbolic::VectorCalculus;
ok 4 - use Math::Symbolic::MiscCalculus;
ok 5 - Pod coverage on Math::Symbolic
ok 6 - Pod coverage on Math::Symbolic::AuxFunctions
ok 7 - Pod coverage on Math::Symbolic::Base
ok 8 - Pod coverage on Math::Symbolic::Compiler
ok 9 - Pod coverage on Math::Symbolic::Constant
ok 10 - Pod coverage on Math::Symbolic::Custom
ok 11 - Pod coverage on Math::Symbolic::Custom::Base
ok 12 - Pod coverage on Math::Symbolic::Custom::DefaultDumpers
ok 13 - Pod coverage on Math::Symbolic::Custom::DefaultMods
ok 14 - Pod coverage on Math::Symbolic::Custom::DefaultTests
ok 15 - Pod coverage on Math::Symbolic::Derivative
ok 16 - Pod coverage on Math::Symbolic::ExportConstants
ok 17 - Pod coverage on Math::Symbolic::MiscAlgebra
ok 18 - Pod coverage on Math::Symbolic::MiscCalculus
ok 19 - Pod coverage on Math::Symbolic::Operator
ok 20 - Pod coverage on Math::Symbolic::Parser
ok 21 - Pod coverage on Math::Symbolic::Variable
ok 22 - Pod coverage on Math::Symbolic::VectorCalculus
ok
t/01basic.t ..............
1..32
ok 1 - use Math::Symbolic;
ok 2 - use Math::Symbolic::VectorCalculus;
ok 3 - Variable prototype
ok 4 - Variable creation, value(), and name()
Vars: a=2 b=3 c=4 (Values are optional)
ok 5 - Operator prototype
ok 6 - Operator creation, type()
Expression: (a+c)/(a*b)
prefix notation and evaluation:
divide(add(a, c), multiply(a, b)) = 1
ok 7 - to_string("prefix") did not complain
Now, we derive this partially to a: (prefix again)
ok 8 - long-form partial derivative did not complain
ok 9 - long-form partial derivative returned derivative
partial_derivative(divide(add(a, c), multiply(a, b)), a) = -0.333333333333333
Now, we apply the derivative to the term: (infix)
ok 10 - apply_derivatives() did not complain
((a * b) - ((a + c) * b)) / ((a * b) ^ 2) = -0.333333333333333
Finally, we simplify the derived term as much as possible:
ok 11 - simplify() did not complain
((a * b) - (b * (c + a))) / ((a * b) ^ 2) = -0.333333333333333
ok 12 - binomial_coeff(0, 0)
ok 13 - binomial_coeff(1, 1)
ok 14 - binomial_coeff(4, 2)
ok 15 - binomial_coeff(5, 2)
ok 16 - binomial_coeff(5, 4)
ok 17 - binomial_coeff(2, 4)
ok 18 - binomial_coeff(2, -1)
ok 19 - bell_number(-1)
ok 20 - bell_number(0)
ok 21 - bell_number(1)
ok 22 - bell_number(2)
ok 23 - bell_number(3)
ok 24 - bell_number(4)
ok 25 - bell_number(5)
ok 26 - bell_number(6)
ok 27 - bell_number(7)
ok 28 - bell_number(8)
ok 29 - bell_number(9)
ok 30 - bell_number(10)
ok 31 - Special attribute on constants set correctly.
ok 32 - Special attribute on constans unset correctly on change of value.
ok
t/02basic.t ..............
1..26
ok 1 - use Math::Symbolic;
Vars: a=2 (Value is optional)
ok 2 - value of a==2 is 2
ok 3 - value of a=3 is 3
ok 4 - value of a==3 is still 3
ok 5 - name=foo is foo
ok 6 - name==foo is foo
ok 7 - Constant with undefined value throws exception
ok 8 - Constant prototype
ok 9 - constant creation, value(), and special()
ok 10 - euler constant creation, value(), and special()
ok 11 - pi constant creation, value(), and special()
ok 12 - Creation of logarithm
Expression: log_10(a*a)
prefix notation and evaluation:
log(10, multiply(a, a)) = 0.602059991327962
Now, we derive this partially to a: (prefix again)
partial_derivative(log(10, multiply(a, a)), a) = 0.434294481903252
ok 13 - apply_derivatives() did not complain
(a + a) / ((log(2.71828182845905, 10)) * (a * a)) = 0.434294481903252
Finally, we simplify the derived term as much as possible:
ok 14 - simplify() did not complain
(2 * a) / (2.30258509299405 * (a ^ 2)) = 0.434294481903252
ok 15 - value() with arguments did not complain
ok 16 - set_value() with arguments did not complain
ok 17 - value() returns undef for undefined vars
ok 18 - apply() returns undef for undefined vars
ok 19 - value() defined if vars defined
ok 20 - fill_in_vars()
ok 21 - signature
ok 22 - explicit_signature
ok 23 - new (as of 0.132) syntax for set_value()
ok 24 - new (as of 0.132) syntax for value()
ok 25 - Simplification never adds a superfluous zero
ok 26 - simplification: ((x+x^2)+3)-3 ==> x+x^2
ok
t/03exp.t ................
1..4
ok 1 - use Math::Symbolic;
Vars: a=2 (Value is optional)
ok 2 - Creation of exponentiation
Expression: 10^(a*a)
prefix notation and evaluation:
exponentiate(10, multiply(a, a)) = 10000
Now, we derive this partially to a: (prefix again)
partial_derivative(exponentiate(10, multiply(a, a)), a) = 92103.4037197618
Now, we apply the derivative to the term: (infix)
ok 3 - apply_derivatives() did not complain
(10 ^ (a * a)) * (((log(2.71828182845905, 10)) * (a + a)) + ((a * a) * (0 / 10)))
(10 ^ (a * a)) * (((log(2.71828182845905, 10)) * (a + a)) + ((a * a) * (0 / 10))) = 92103.4037197618
Finally, we simplify the derived term as much as possible:
ok 4 - simplify() did not complain
(10 ^ (a ^ 2)) * (4.60517018598809 * a) = 92103.4037197618
ok
t/04deep_derivatives.t ...
1..4
ok 1 - use Math::Symbolic;
Vars: a=2 (Values are optional)
prefix notation and evaluation:
exponentiate(2.71828182845905, multiply(2, a)) = 54.5981500331442
Now, we derive this partially to 'a' (10 times): (infix)
1
2
3
4
5
6
7
8
9
10
2048 * (2.71828182845905 ^ (2 * a)) = 111817.011267879
ok 2 - Large coefficient and op1() method
ok 3 - op2() method
ok 4 - op2() method, special euler trait
ok
t/05unary_minus.t ........
1..6
ok 1 - use Math::Symbolic;
Vars: a=2 (Values are optional)
ok 2 - Unary minus creation
prefix notation and evaluation:
negate(a) = -2
ok 3 - Unary minus to prefix
-a = -2
ok 4 - Unary minus to infix
ok 5 - Unary minus simplification
ok 6 - More unary minus simplification
ok
t/06parser.t .............
1..47
ok 1 - use Math::Symbolic;
ok 2 - Parsing constants
ok 3 - Parsing multiplication
ok 4 - Parsing parens and addition, precedence
ok 5 - no fatal error.
ok 6 - Parsing difference, chaining.
ok 7 - Parsing unary
ok 8 - Parsing exp and log
ok 9 - Parsing complicated term
ok 10 - Parsing complicated term involving sine and cosine
ok 11 - Parse fails on invalid string.
ok 12 - parsing exp() does not throw an error
ok 13 - parsing exp() returns an operator isa Math::Symbolic::Operator
ok 14 - Parse of exp() turns it into e^()
ok 15 - parsing sqrt() does not throw an error
ok 16 - parsing sqrt() returns an operator isa Math::Symbolic::Operator
ok 17 - Parse of sqrt() turns it into ()^0.5
ok 18 - parsing 'f'(x)' does not throw an error
ok 19 - parsing 'f'(x)' returns an operator isa Math::Symbolic::Operator
ok 20 - Parse of 'f'(x)' turns it into (?-xism:^partial_derivative\(f,\s*x\)$)
ok 21 - parsing 'f'' does not throw an error
ok 22 - parsing 'f'' returns an operator isa Math::Symbolic::Operator
ok 23 - Parse of 'f'' turns it into (?-xism:^partial_derivative\(f,\s*x\)$)
ok 24 - parsing 'f'(a)' does not throw an error
ok 25 - parsing 'f'(a)' returns an operator isa Math::Symbolic::Operator
ok 26 - Parse of 'f'(a)' turns it into (?-xism:^partial_derivative\(f,\s*a\)$)
ok 27 - parsing 'f'(a, x)' does not throw an error
ok 28 - parsing 'f'(a, x)' returns an operator isa Math::Symbolic::Operator
ok 29 - Parse of 'f'(a, x)' turns it into (?-xism:^partial_derivative\(f,\s*a\)$)
ok 30 - parsing 'f''(x)' does not throw an error
ok 31 - parsing 'f''(x)' returns an operator isa Math::Symbolic::Operator
ok 32 - Parse of 'f''(x)' turns it into (?-xism:^partial_derivative\(partial_derivative\(f,\s*x\),\s*x\)$)
ok 33 - parsing 'f''' does not throw an error
ok 34 - parsing 'f''' returns an operator isa Math::Symbolic::Operator
ok 35 - Parse of 'f''' turns it into (?-xism:^partial_derivative\(partial_derivative\(f,\s*x\),\s*x\)$)
ok 36 - parsing 'f''(a)' does not throw an error
ok 37 - parsing 'f''(a)' returns an operator isa Math::Symbolic::Operator
ok 38 - Parse of 'f''(a)' turns it into (?-xism:^partial_derivative\(partial_derivative\(f,\s*a\),\s*a\)$)
ok 39 - parsing 'f''(a, x)' does not throw an error
ok 40 - parsing 'f''(a, x)' returns an operator isa Math::Symbolic::Operator
ok 41 - Parse of 'f''(a, x)' turns it into (?-xism:^partial_derivative\(partial_derivative\(f,\s*a\),\s*a\)$)
ok 42 - parse_from_string complains about being called without args
ok 43 - parse_from_string complains about being called as method without args
ok 44 - parse_from_string creates a new parser if necessary
ok 45 - The object isa Math::Symbolic::Parser::Yapp
ok 46 - chose implementation RecDescent
ok 47 - Cannot create parser of unknown implementation
ok
t/07simple_trig.t ........
1..28
ok 1 - use Math::Symbolic;
Vars: x=2 (Value is optional)
ok 2 - sine creation
Expression: sin(2*x)
prefix notation and evaluation:
sin(multiply(2, x))
ok 3 - sine to_string
Now, we derive this partially to x: (prefix again)
partial_derivative(sin(multiply(2, x)), x)
Now, we apply the derivative to the term: (infix)
ok 4 - sine derivative
2 * (cos(2 * x))
Finally, we simplify the derived term as much as possible:
2 * (cos(2 * x))
Now, we do this three more times:
4 * (-(4 * (-(sin(2 * x)))))
ok 5 - tan(x) parses
ok 6 - tan() is a real tan
ok 7 - M::S::AuxF::tan is a real tan
ok 8 - cot(x) parses
ok 9 - cot() is a real cot
ok 10 - M::S::AuxF::cot is a real cot
ok 11 - asin(x) parses
ok 12 - asin() is a real asin
ok 13 - M::S::AuxF::asin is a real asin
ok 14 - acos(x) parses
ok 15 - acos() is a real acos
ok 16 - M::S::AuxF::acos is a real acos
ok 17 - atan(x) parses
ok 18 - atan() is a real atan
ok 19 - M::S::AuxF::atan is a real atan
ok 20 - acot(x) parses
ok 21 - acot() is a real acot
ok 22 - M::S::AuxF::acot is a real acot
ok 23 - asinh(x) parses
ok 24 - asinh() is a real asinh
ok 25 - M::S::AuxF::asinh is a real asinh
ok 26 - acosh(x) parses
ok 27 - acosh() is a real acosh
ok 28 - M::S::AuxF::acosh is a real acosh
ok
t/08parse_hyperbolic.t ...
1..4
ok 1 - use Math::Symbolic;
ok 2 - Parsing hyperbolic sine
ok 3 - Parsing hyperbolic cosine
ok 4 - Parsing more complicated string involving sinh/cosh/tan.
ok
t/09hyperbolic.t .........
1..7
ok 1 - use Math::Symbolic;
Vars: x=2 (Value is optional)
ok 2 - hyperbolic sine creation
ok 3 - area hyperbolic sine creation
Expression: sinh(2*x) and asinh(2*x)
prefix notation and evaluation:
sinh(multiply(2, x))
ok 4 - h. sine to_string
asinh(multiply(2, x))
ok 5 - area h. sine to_string
Now, we derive this partially to x: (prefix again)
partial_derivative(sinh(multiply(2, x)), x)
partial_derivative(asinh(multiply(2, x)), x)
Now, we apply the derivative to the term: (infix)
ok 6 - h. sine derivative
ok 7 - area h. sine derivative
2 * (cosh(2 * x))
2 * (1 / ((((2 * x) ^ 2) + 1) ^ 0.5))
Finally, we simplify the derived term as much as possible:
2 * (cosh(2 * x))
2 / (1 + (2 * x))
Now, we do this two more times:
8 * (cosh(2 * x))
0
ok
t/10hyperbolic.t .........
1..7
ok 1 - use Math::Symbolic;
Vars: x=2 (Value is optional)
ok 2 - hyperbolic cosine creation
ok 3 - area hyperbolic cosine creation
Expression: cosh(2*x) and acosh(2*x)
prefix notation and evaluation:
cosh(multiply(2, x))
ok 4 - h. cosine to_string
acosh(multiply(2, x))
ok 5 - area h. cosine to_string
Now, we derive this partially to x: (prefix again)
partial_derivative(cosh(multiply(2, x)), x)
partial_derivative(acosh(multiply(2, x)), x)
Now, we apply the derivative to the term: (infix)
ok 6 - h. cosine derivative
ok 7 - area h. cosine derivative
2 * (sinh(2 * x))
2 * (1 / ((((2 * x) ^ 2) - 1) ^ 0.5))
Finally, we simplify the derived term as much as possible:
2 * (sinh(2 * x))
2 / (-1 + (2 * x))
Now, we do this two more times:
8 * (sinh(2 * x))
0
ok
t/11trigonometric.t ......
1..28
ok 1 - use Math::Symbolic;
Vars: x=2 (Value is optional)
ok 2 - sine creation
ok 3 - cosine creation
ok 4 - tangent creation
ok 5 - cotangent creation
ok 6 - arc sine creation
ok 7 - arc cosine creation
ok 8 - arc tangent creation
ok 9 - atan2 creation
ok 10 - arc cotangent creation
prefix notation and evaluation:
sin(multiply(2, x))
ok 11 - sine to_string
cos(multiply(2, x))
ok 12 - cosine to_string
tan(multiply(2, x))
ok 13 - tangent to_string
cot(multiply(2, x))
ok 14 - cotangent to_string
asin(multiply(2, x))
ok 15 - arc sine to_string
acos(multiply(2, x))
ok 16 - arc cosine to_string
atan(multiply(2, x))
ok 17 - arc tangent to_string
atan2(2, x)
ok 18 - atan2 to_string
acot(multiply(2, x))
ok 19 - arc cotangent to_string
Now, we derive this partially to x: (prefix again)
multiply(2, cos(multiply(2, x)))
ok 20 - sine derivative, simplification
multiply(2, negate(sin(multiply(2, x))))
ok 21 - cosine derivative, simplification
divide(2, exponentiate(cos(multiply(2, x)), 2))
ok 22 - tangent derivative, simplification
multiply(2, negate(divide(1, exponentiate(cos(multiply(2, x)), 2))))
ok 23 - cotangent derivative, simplification
divide(2, subtract(1, multiply(2, x)))
ok 24 - arc sine derivative, simplification
divide(-2, subtract(1, exponentiate(multiply(2, x), 2)))
ok 25 - arc cosine derivative, simplification
divide(2, add(1, multiply(2, x)))
ok 26 - arc tangent derivative, simplification
*
ok 27 - arc tangent derivative, simplification
divide(-2, add(1, exponentiate(multiply(2, x), 2)))
ok 28 - arc tangent derivative, simplification
ok
t/12overload.t ...........
1..34
ok 1 - use Math::Symbolic;
Vars: x=10 (Value is optional)
Expression: x * 2 + 1, x / 2 - 1, x * (2+1)
ok 2 - overloaded multiplication and addition
ok 3 - Correct result of overloaded *,+
ok 4 - Result evaluates to the correct number
ok 5 - overloaded division and subtraction
ok 6 - Correct result of overloaded /,-
ok 7 - Result evaluates to the correct number
ok 8 - overloaded multiplication involving auto-parsing
ok 9 - Correct result of overloaded * involving auto-parsing
ok 10 - Result evaluates to the correct number
ok 11 - overloaded ** w/ constant recognition and M::S::Operators
ok 12 - Result evaluates to the correct number
ok 13 - overloaded ** w/ two M::S::Operators
ok 14 - Result evaluates to the correct number
ok 15 - overloaded sqrt, * w/ M::S::Operators
ok 16 - Result evaluates to the correct number
ok 17 - overloaded unary minus, exp w/ M::S::Constant
ok 18 - Result evaluates to the correct number
ok 19 - overloaded log w/ M::S::Constant
ok 20 - Result evaluates to the correct number
ok 21 - automatic boolean conversion (Test1)
ok 22 - automatic boolean conversion (Test2)
ok 23 - overloaded sin, cos w/ M::S::Constant
ok 24 - Result evaluates to the correct number
ok 25 - overloaded += w/ M::S::Constant
ok 26 - Result evaluates to the correct number
ok 27 - overloaded -= w/ M::S::Constant
ok 28 - Result evaluates to the correct number
ok 29 - overloaded *= w/ M::S::Constant
ok 30 - Result evaluates to the correct number
ok 31 - overloaded /= w/ M::S::Constant
ok 32 - Result evaluates to the correct number
ok 33 - overloaded **= w/ M::S::Constant
ok 34 - Result evaluates to the correct number
prefix notation and evaluation:
add(multiply(x, 2), 1) = 21
subtract(divide(x, 2), 1) = 4
Now, we derive this partially to x: (prefix again)
partial_derivative(add(multiply(x, 2), 1), x) = 2
partial_derivative(subtract(divide(x, 2), 1), x) = 0.5
partial_derivative(multiply(x, add(2, 1)), x) = 3
ok
t/13parse_more.t .........
1..17
ok 1 - use Math::Symbolic;
ok 2 - Parsing variables
ok 3 - Parsing multiplication of variables
ok 4 - Parsing parens and addition, precedence, overloaded ops
ok 5 - did not die
ok 6 - Parsing difference, chaining
ok 7 - Parsing unary minus and complex identifier
ok 8 - Parsing exp and log
ok 9 - Parsing complicated term
ok 10 - Autoparsing at operator creation
ok 11 - Parsing variable with signature
ok 12 - Checking variable for correct signature
ok 13 - did not die
ok 14 - Parsing term involving variables with signatures.
ok 15 - Checking term for correct signature
ok 16 - Parsing term involving multiple unary minuses
ok 17 - Parsing term involving multiple unary minuses
ok
t/14compile.t ............
1..21
ok 1 - use Math::Symbolic;
ok 2 - compile_to_sub(), one argument.
ok 3 - - checking results.
ok 4 - - checking results.
ok 5 - compile_to_sub(), two arguments.
ok 6 - - checking results.
ok 7 - - checking results.
ok 8 - compile_to_sub(), two arguments.
ok 9 - - checking results.
ok 10 - - checking results.
ok 11 - compile_to_code() - one argument.
ok 12 - - checking results.
ok 13 - - checking results.
ok 14 - compile_to_code() - two arguments.
ok 15 - - checking results.
ok 16 - - checking results.
ok 17 - compile_to_code() - two arguments.
ok 18 - - checking results.
ok 19 - - checking results.
ok 20 - compile()
ok 21 - Correct result of sub
ok
t/15total_derivatives.t ..
1..8
ok 1 - use Math::Symbolic;
ok 2 - Term creation from string did not complain.
Expression: 10^(a(x)*a(x))
prefix notation and evaluation: (a=2)
exponentiate(10, multiply(a, a)) = 10000
Now, we derive this totally to a: (prefix again)
ok 3 - Total derivative did not complain.
total_derivative(exponentiate(10, multiply(a, a)), a) = 92103.4037197618
Now, we apply the derivative to the term: (infix)
ok 4 - Application of total derivative did not complain
(10 ^ (a * a)) * ((log(2.71828182845905, 10)) * (a + a)) = 92103.4037197618
Finally, we simplify the derived term as much as possible:
(10 ^ (a ^ 2)) * (4.60517018598809 * a) = 92103.4037197618
ok 5 - Simplification of result did not complain
For a change, we derive the term to x.
ok 6 - Parsing total derivative (to sig var) from string did not complain
ok 7 - Applying total derivative (to sig var) did not complain
The derived term becomes:
(10 ^ (a * a)) * ((log(2.71828182845905, 10)) * ((a * (total_derivative(a, x))) + (a * (total_derivative(a, x)))))
ok 8 - Printing result does not complain
Which simplifies as:
(10 ^ (a ^ 2)) * (4.60517018598809 * (a * (total_derivative(a, x))))
ok
t/16tests.t ..............
1..48
ok 1 - use Math::Symbolic;
ok 2 - is_constant true for constants
ok 3 - is_constant false for vars
ok 4 - is_constant true for constant expressions
ok 5 - is_constant false for non-constant expressions
ok 6 - is_constant true for expressions that become constant after del/delx
ok 7 - is_constant true for expressions that become constant after d/dx
ok 8 - is_constant true for expressions that become constant after d/dx
ok 9 - is_integer false for vars
ok 10 - is_integer false for fractions
ok 11 - is_integer true for integers
ok 12 - is_integer true for zero
ok 13 - is_integer false for operators
ok 14 - is_sum true for constant
ok 15 - is_sum true for constant sum
ok 16 - is_sum true for constant times variable
ok 17 - is_sum true for integer constant times variable
ok 18 - is_sum false for non-integer constant times variable
ok 19 - is_sum true for sum of variables and constant terms
ok 20 - is_sum true for del/delx that evaluates to a sum
ok 21 - is_identical true involved term
ok 22 - is_identical true involved term
ok 23 - is_identical false involved term differing in signature
ok 24 - is_identical false involved term differing in constant
ok 25 - is_identical false involved term differing in variable
ok 26 - is_identical false involved term differing in operator
ok 27 - can() returns code ref for builtin method.
ok 28 - can() returns code ref for delegated method.
ok 29 - can() returns false for non-existant builtin method.
ok 30 - can() returns false for non-existant delegated method.
ok 31 - is_identical_base trivial
ok 32 - is_identical_base simple
ok 33 - more is_identical_base tests
ok 34 - more is_identical_base tests
ok 35 - more is_identical_base tests
ok 36 - more is_identical_base tests
ok 37 - 1 is_one
ok 38 - !0 is_one
ok 39 - !4-3 is_one
ok 40 - !a is_one
ok 41 - !1 is_zero
ok 42 - !0 is_zero
ok 43 - !4-4 is_zero
ok 44 - !a is_zero
ok 45 - 1 is_zero_or_one
ok 46 - 0 is_zero_or_one
ok 47 - !4-4 is_zero_or_one
ok 48 - !a is_zero_or_one
ok
t/17modifications.t ......
1..29
ok 1 - use Math::Symbolic;
ok 2 - apply_constant_fold() working for simple case
ok 3 - apply_constant_fold() working for simple case
ok 4 - apply_constant_fold() working for simple case
ok 5 - apply_constant_fold() working for simple case
ok 6 - apply_constant_fold() working for simple case
ok 7 - x+x^2 plus 3 should be 3+(x+x^2) (result: 3 + (x + (x ^ 2)))
ok 8 - 3+(x+x^2) plus -3 should be x+x^2 (result: x + (x ^ 2))
ok 9 - x-x^2 plus 3 should be 3+(x-x^2) (result: 3 + (x - (x ^ 2)))
ok 10 - 2+(x+x^2) plus -1 should be 1+(x+x^2) (result: 1 + (x + (x ^ 2)))
ok 11 - (x+x^2)+2 plus -1 should be (x+x^2)+1 (result: (x + (x ^ 2)) + 1)
ok 12 - (x+x^2)+1 plus -1 should be x+x^2 (result: x + (x ^ 2))
ok 13 - (x*x^2)+5 plus -4 should be x*x^2+1 (result: (x * (x ^ 2)) + 1)
ok 14 - (x+(x^2+2)) plus -4 should be x+(x^2+(-2)) (result: x + ((x ^ 2) + (-2)))
ok 15 - (x+(x^2+2)) plus -2 should be x+(x^2) (result: x + (x ^ 2))
ok 16 - (x+(x^2+2)) plus 0 should be x+(x^2+2) (result: x + ((x ^ 2) + 2))
ok 17 - x+(x+(1+x)) plus 2 should be x+(x+(3+x)) (result: x + (x + (3 + x)))
ok 18 - x*x^2 times 3 should be 3*(x*x^2) (result: 3 * (x * (x ^ 2)))
ok 19 - 3*(x*x^2) times 1/3 should be x*x^2 (result: x * (x ^ 2))
ok 20 - x/x^2 times 3 should be 3*(x/x^2) (result: 3 * (x / (x ^ 2)))
ok 21 - x/x^2 times 0 should be 0 (result: 0)
ok 22 - 4*(x*x^2) times 1/2 should be 2*(x*x^2) (result: 2 * (x * (x ^ 2)))
ok 23 - (x*x^2)*4 times 1/2 should be (x*x^2)*2 (result: (x * (x ^ 2)) * 2)
ok 24 - (x*x^2)*3 times 1/3 should be x*x^2 (result: x * (x ^ 2))
ok 25 - (x^x^2)*8 times 1/4 should be x^x^2*2 (result: (x ^ (x ^ 2)) * 2)
ok 26 - (x*(x^2*2)) times 1/4 should be x*(x^2*0.5) (result: x * ((x ^ 2) * 0.5))
ok 27 - (x*(x^2*2)) times 1/2 should be x*(x^2) (result: x * (x ^ 2))
ok 28 - (x*(x^2*2)) times 1 should be x*(x^2*2) (result: x * ((x ^ 2) * 2))
ok 29 - x*(x*(2*x)) times 3 should be x*(x*(6*x)) (result: x * (x * (6 * x)))
ok
t/18vectorcalc.t .........
1..19
ok 1 - use Math::Symbolic;
ok 2 - use Math::Symbolic::VectorCalculus;
ok 3 - simple grad usage
ok 4 - more simple grad usage
ok 5 - more grad usage with custom signature
ok 6 - simple divergence usage
ok 7 - more simple divergence usage
ok 8 - divergence usage with custom signature
ok 9 - basic rot usage
ok 10 - basic Jacobi usage
ok 11 - basic Hesse usage
ok 12 - basic TotalDifferential usage
ok 13 - more basic TotalDifferential usage
ok 14 - yet more basic TotalDifferential usage
ok 15 - basic DirectionalDerivative usage
ok 16 - basic DirectionalDerivative usage
ok 17 - basic TaylorPolyTwoDim usage (degree 0)
ok 18 - basic TaylorPolyTwoDim usage (degree 1)
ok 19 - simple Wronsky Determinant
ok
t/19misccalc.t ...........
1..11
ok 1 - use Math::Symbolic;
ok 2 - use Math::Symbolic::MiscCalculus;
ok 3 - simple taylor poly of 0-th degree
ok 4 - simple taylor poly of first degree
ok 5 - complex taylor poly of third degree
ok 6 - simple lagrange error
ok 7 - more simple lagrange error
ok 8 - more simple lagrange error
ok 9 - simple cauchy error
ok 10 - more simple cauchy error
ok 11 - more simple cauchy error
ok
t/20miscalgebra.t ........
1..13
ok 1 - use Math::Symbolic;
ok 2 - use Math::Symbolic::MiscCalculus;
ok 3 - matrix_slice(..., 1, 1)
ok 4 - matrix_slice(..., 0, 0)
ok 5 - matrix_slice(..., 2, 1)
ok 6 - det(4x4)
ok 7 - 2x2 det
ok 8 - linear_solve component
ok 9 - linear_solve component
ok 10 - linear_solve component
ok 11 - bell_polynomial(0)
ok 12 - bell_polynomial(1)
ok 13 - bell_polynomial(2)
ok
t/21more_derivatives.t ...
1..10
ok 1 - use Math::Symbolic;
ok 2 - b == b
ok 3 - b + (c * (2 * x)) == b + ((2 * c) * x)
ok 4 - ((((((((1 + (2 * x)) + (3 * (x ^ 2))) + (4 * (x ^ 3))) + (5 * (x ^ 4))) + (6 * (x ^ 5))) + (7 * (x ^ 6))) + (8 * (x ^ 7))) + (9 * (x ^ 8))) + (10 * (x ^ 9)) == ((((((((1 + (2 * (x ^ 1))) + (3 * (x ^ 2))) + (4 * (x ^ 3))) + (5 * (x ^ 4))) + (6 * (x ^ 5))) + (7 * (x ^ 6))) + (8 * (x ^ 7))) + (9 * (x ^ 8))) + (10 * (x ^ 9))
ok 5 - ((cos(3 * x)) * (2 * (cos(2 * x)))) + ((sin(2 * x)) * (3 * (-(sin(3 * x))))) == ((2 * (cos(2 * x))) * (cos(3 * x))) - ((3 * (sin(3 * x))) * (sin(2 * x)))
ok 6 - 2 / ((log(2.71828182845905, a)) * (2 * x)) == 2 / (((log(2.71828182845905, a)) * 2) * x)
ok 7 - ((x ^ 2) - (x * (2 * x))) / ((x ^ 2) ^ 2) == (-1) / (x ^ 2)
ok 8 - Derivatives of semantically equivalent formulas equivalent at x=1
ok 9 - Derivatives of semantically equivalent formulas equivalent at x=2
ok 10 - Derivatives of semantically equivalent formulas equivalent at x=3
ok
t/22dumpers.t ............
1..29
ok 1 - use Math::Symbolic;
ok 2
ok 3
ok 4
ok 5 - to_sub works
ok 6
ok 7
ok 8
ok 9 - to_sub works
ok 10
ok 11
ok 12
ok 13 - to_sub works
ok 14
ok 15
ok 16
ok 17 - to_sub works
ok 18
ok 19
ok 20
ok 21 - to_sub works
ok 22
ok 23
ok 24
ok 25 - to_sub works
ok 26
ok 27
ok 28
ok 29 - to_sub works
ok
All tests successful.
Files=25, Tests=540, 26 wallclock secs ( 0.55 usr 0.47 sys + 23.40 cusr 1.74 csys = 26.16 CPU)
Result: PASS
SMUELLER/Math-Symbolic-0.603.tar.gz
make test TEST_VERBOSE=1 -- OK
Steffen Mueller <smueller@cpan.org>
Symbolic calculations
>>> (cd /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0 && tar cvf - Math-Symbolic-0.603.ppd blib) | gzip -c >/Users/fly1200/var/REPO/S/SM/SMUELLER/Math-Symbolic-0.603.tar.gz
Math-Symbolic-0.603.ppd
blib/
blib/lib/
blib/lib/Math/
blib/lib/Math/compile_yapp_parser.pl
blib/lib/Math/Symbolic/
blib/lib/Math/Symbolic/AuxFunctions.pm
blib/lib/Math/Symbolic/Base.pm
blib/lib/Math/Symbolic/Compiler.pm
blib/lib/Math/Symbolic/Constant.pm
blib/lib/Math/Symbolic/Custom/
blib/lib/Math/Symbolic/Custom/Base.pm
blib/lib/Math/Symbolic/Custom/DefaultDumpers.pm
blib/lib/Math/Symbolic/Custom/DefaultMods.pm
blib/lib/Math/Symbolic/Custom/DefaultTests.pm
blib/lib/Math/Symbolic/Custom.pm
blib/lib/Math/Symbolic/Derivative.pm
blib/lib/Math/Symbolic/ExportConstants.pm
blib/lib/Math/Symbolic/MiscAlgebra.pm
blib/lib/Math/Symbolic/MiscCalculus.pm
blib/lib/Math/Symbolic/Operator.pm
blib/lib/Math/Symbolic/Parser/
blib/lib/Math/Symbolic/Parser/Precompiled.pm
blib/lib/Math/Symbolic/Parser/Yapp.pm
blib/lib/Math/Symbolic/Parser.pm
blib/lib/Math/Symbolic/Variable.pm
blib/lib/Math/Symbolic/VectorCalculus.pm
blib/lib/Math/Symbolic.pm
blib/man3/
blib/man3/Math::Symbolic.3
blib/man3/Math::Symbolic::AuxFunctions.3
blib/man3/Math::Symbolic::Base.3
blib/man3/Math::Symbolic::Compiler.3
blib/man3/Math::Symbolic::Constant.3
blib/man3/Math::Symbolic::Custom.3
blib/man3/Math::Symbolic::Custom::Base.3
blib/man3/Math::Symbolic::Custom::DefaultDumpers.3
blib/man3/Math::Symbolic::Custom::DefaultMods.3
blib/man3/Math::Symbolic::Custom::DefaultTests.3
blib/man3/Math::Symbolic::Derivative.3
blib/man3/Math::Symbolic::ExportConstants.3
blib/man3/Math::Symbolic::MiscAlgebra.3
blib/man3/Math::Symbolic::MiscCalculus.3
blib/man3/Math::Symbolic::Operator.3
blib/man3/Math::Symbolic::Parser.3
blib/man3/Math::Symbolic::Parser::Precompiled.3
blib/man3/Math::Symbolic::Variable.3
blib/man3/Math::Symbolic::VectorCalculus.3
>>> mv /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/Math-Symbolic-0.603.ppd /Users/fly1200/var/REPO/S/SM/SMUELLER
Running test for module 'Math::SymbolicX::ParserExtensionFactory'
Running make for S/SM/SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz
Prepending /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/arch /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/lib to PERL5LIB for 'get'
Fetching with LWP:
http://cpan.nas.activestate.com/authors/id/S/SM/SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz
Checksum for /Users/fly1200/var/cpan/sources/authors/id/S/SM/SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz ok
Math-SymbolicX-ParserExtensionFactory-3.02/
Math-SymbolicX-ParserExtensionFactory-3.02/README
Math-SymbolicX-ParserExtensionFactory-3.02/t/
Math-SymbolicX-ParserExtensionFactory-3.02/t/01basic.t
Math-SymbolicX-ParserExtensionFactory-3.02/t/00pod.t
Math-SymbolicX-ParserExtensionFactory-3.02/t/00podcover.t
Math-SymbolicX-ParserExtensionFactory-3.02/t/03regression.t
Math-SymbolicX-ParserExtensionFactory-3.02/t/02private.t
Math-SymbolicX-ParserExtensionFactory-3.02/Changes
Math-SymbolicX-ParserExtensionFactory-3.02/MANIFEST
Math-SymbolicX-ParserExtensionFactory-3.02/Makefile.PL
Math-SymbolicX-ParserExtensionFactory-3.02/META.yml
Math-SymbolicX-ParserExtensionFactory-3.02/lib/
Math-SymbolicX-ParserExtensionFactory-3.02/lib/Math/
Math-SymbolicX-ParserExtensionFactory-3.02/lib/Math/SymbolicX/
Math-SymbolicX-ParserExtensionFactory-3.02/lib/Math/SymbolicX/ParserExtensionFactory.pm
Math-SymbolicX-ParserExtensionFactory-3.02/Build.PL
Prepending /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/arch /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build S/SM/SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz
>>> /Users/fly1200/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Math::SymbolicX::ParserExtensionFactory
>>> make
cp lib/Math/SymbolicX/ParserExtensionFactory.pm blib/lib/Math/SymbolicX/ParserExtensionFactory.pm
Manifying blib/man3/Math::SymbolicX::ParserExtensionFactory.3
SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz
make -- OK
Prepending /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/arch /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly1200/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00pod.t .........
1..1
ok 1 - POD test for blib/lib/Math/SymbolicX/ParserExtensionFactory.pm
ok
t/00podcover.t ....
1..1
ok 1 - Pod coverage on Math::SymbolicX::ParserExtensionFactory
ok
t/01basic.t .......
ok 1 - use Math::Symbolic;
ok 2 - use Math::SymbolicX::ParserExtensionFactory;
ok 3 - Still alive after modifying the parser.
ok 4 - myfunction called at the right time
ok 5
ok 6 - myfunction called at the right time
ok 7
ok 8 - myfunction called at the right time
ok 9
ok 10 - myfunction called at the right time
ok 11
ok 12 - parsed alright
ok 13 - works alright
1..13
ok
t/02private.t .....
1..27
ok 1 - use Math::Symbolic;
ok 2 - use Math::SymbolicX::ParserExtensionFactory;
ok 3 - Still alive after modifying the parser.
ok 4 - myfunction called at the right time
ok 5
ok 6 - myfunction called at the right time
ok 7
ok 8 - in fun_func
ok 9 - parsed alright
ok 10 - works alright
ok 11 - Parse failed as expected
ok 12 - Still alive after modifying the parser.
ok 13 - myfunction2 called at the right time
ok 14
ok 15 - myfunction2 called at the right time
ok 16
ok 17 - myfunction2 called at the right time
ok 18
ok 19 - myfunction2 called at the right time
ok 20
ok 21 - in fun_func
ok 22 - in fun_func
ok 23 - parsed alright
ok 24 - works alright
ok 25 - Parse failed as expected
ok 26 - Parse failed as expected
ok 27 - Parse failed as expected
ok
t/03regression.t ..
1..12
ok 1 - use Math::Symbolic;
ok 2 - use Math::SymbolicX::ParserExtensionFactory;
ok 3 - Still alive after modifying the parser.
ok 4 - parsed alright
ok 5 - The object isa Math::Symbolic::Parser::Yapp
ok 6 - The object isa Math::Symbolic::Operator
ok 7 - parsed alright
ok 8 - The object isa Math::Symbolic::Parser::Yapp
ok 9 - The object isa Math::Symbolic::Operator
ok 10 - parsed alright
ok 11 - The object isa Math::Symbolic::Parser::Yapp
ok 12 - The object isa Math::Symbolic::Operator
ok
All tests successful.
Files=5, Tests=54, 3 wallclock secs ( 0.12 usr 0.11 sys + 2.04 cusr 0.33 csys = 2.60 CPU)
Result: PASS
SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz
make test TEST_VERBOSE=1 -- OK
Steffen Mueller <smueller@cpan.org>
Generate parser extensions
>>> (cd /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO && tar cvf - Math-SymbolicX-ParserExtensionFactory-3.02.ppd blib) | gzip -c >/Users/fly1200/var/REPO/S/SM/SMUELLER/Math-SymbolicX-ParserExtensionFactory-3.02.tar.gz
Math-SymbolicX-ParserExtensionFactory-3.02.ppd
blib/
blib/lib/
blib/lib/Math/
blib/lib/Math/SymbolicX/
blib/lib/Math/SymbolicX/ParserExtensionFactory.pm
blib/man3/
blib/man3/Math::SymbolicX::ParserExtensionFactory.3
>>> mv /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/Math-SymbolicX-ParserExtensionFactory-3.02.ppd /Users/fly1200/var/REPO/S/SM/SMUELLER
Running make for T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
Prepending /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/blib/arch /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/blib/lib /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/arch /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/lib to PERL5LIB for 'get'
Has already been unwrapped into directory /Users/fly1200/var/cpan/build/Acme-AlgebraicToRPN-0.02-jLZ3zI
Prepending /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/blib/arch /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/blib/lib /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/arch /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/lib to PERL5LIB for 'make'
CPAN.pm: Going to build T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
>>> make
cp lib/Acme/AlgebraicToRPN.pm blib/lib/Acme/AlgebraicToRPN.pm
Manifying blib/man3/Acme::AlgebraicToRPN.3
THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
make -- OK
Prepending /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/blib/arch /Users/fly1200/var/cpan/build/Math-SymbolicX-ParserExtensionFactory-3.02-Mhr_qO/blib/lib /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/arch /Users/fly1200/var/cpan/build/Math-Symbolic-0.603-nOLYP0/blib/lib to PERL5LIB for 'test'
Running make test
>>> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /Users/fly1200/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
# Testing Acme::AlgebraicToRPN 0.02, Perl 5.012000, /Users/fly1200/bin/perl
t/00-load.t .......
1..1
ok 1 - use Acme::AlgebraicToRPN;
ok
# Testing Acme::AlgebraicToRPN 0.02, Perl 5.012000, /Users/fly1200/bin/perl
rpn = 4+3... Ok!
rpn = -4+3... Ok!
rpn = sin(3)... Ok!
rpn = sin(pi/2)... Ok!
rpn = -sin(pi/2)... Ok!
rpn = -sin(pi+3/2)... Ok!
rpn = news(hammer)... Ok!
rpn = 1+3^x... Ok!
rpn = -3-3*x... Ok!
rpn = sqrt(4)... Ok!
rpn = -sin(box(a,20))... Ok!
rpn = log(a)... Ok!
rpn = atan2(a,b)... Ok!
rpn = a^b... Ok!
rpn = a^b3... Ok!
rpn = a^-1... Ok!
rpn = sin(pi/3)*2/log(2,1.3)... Ok!
rpn = 4*foo(a,3)... Ok!
rpn = 4*foo(a,3,55)... Ok!
Shouldn't parse due to 'boo' function, which we don't know
Acme::AlgebraicToRPN - equation didn't parse; did you forget to add a userFunc?
t/01-test.t .......
1..21
ok 1 - use Acme::AlgebraicToRPN;
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok
t/pod-coverage.t ..
1..1
ok 1 - Pod coverage on Acme::AlgebraicToRPN
ok
t/pod.t ...........
1..1
ok 1 - POD test for blib/lib/Acme/AlgebraicToRPN.pm
ok
All tests successful.
Files=4, Tests=24, 3 wallclock secs ( 0.10 usr 0.09 sys + 2.02 cusr 0.37 csys = 2.58 CPU)
Result: PASS
THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
make test TEST_VERBOSE=1 -- OK
X Cramps <CENSORED>
convert algebraic notation to sane RPN
>>> (cd /Users/fly1200/var/cpan/build/Acme-AlgebraicToRPN-0.02-jLZ3zI && tar cvf - Acme-AlgebraicToRPN-0.02.ppd blib) | gzip -c >/Users/fly1200/var/REPO/T/TH/THECRAMPS/Acme-AlgebraicToRPN-0.02.tar.gz
Acme-AlgebraicToRPN-0.02.ppd
blib/
blib/lib/
blib/lib/Acme/
blib/lib/Acme/AlgebraicToRPN.pm
blib/man3/
blib/man3/Acme::AlgebraicToRPN.3
>>> mv /Users/fly1200/var/cpan/build/Acme-AlgebraicToRPN-0.02-jLZ3zI/Acme-AlgebraicToRPN-0.02.ppd /Users/fly1200/var/REPO/T/TH/THECRAMPS
Finished 2010-04-28T15:33:11