summaryrefslogtreecommitdiff
path: root/math/mathomatic
AgeCommit message (Collapse)AuthorFilesLines
2004-09-25Update mathomatic to 11.3f.minskim3-9/+8
Changes since 11.3c: Improved eliminate command error handling. Added "eliminate all" command. Code cleanup. Man pages for the prime number tools were contributed by David Moreno Garza. Many thanks. Renamed the Mathomatic directory in the source tarball to "mathomatic-`cat VERSION`". Added several comments to the source code. Renamed prime number tools to "matho-*". Improvement to full simplification. Tried something new with uf_simp() that fixed a problem with Mathomatic solve complicating expressions. Minor bugfix to eliminate command.
2004-08-04Update mathomatic to 11.3c.minskim3-11/+12
Changes: "factor number" command now accepts more than one integer. Added file "mathomatic.ico". Added temporary fix for 64 bit longs. Added file "VERSION" which contains the version number of Mathomatic. "makefile" modified. Renamed "lgpl.txt" to "LICENSE.txt". "make install" now installs all HTML files in "/usr/local/doc/mathomatic". Added compile-time define "TIMEOUT_SECONDS". Useful for limiting the amount of time Mathomatic can run as a CGI.
2004-07-26Update mathomatic to 11.3b.minskim3-8/+8
Changes: Proper exit after error reading files on the command line. Added code to preserve roots of integers, if the result is irrational. Fixed "calculate >filename". Made "+/-2^.5" work as expected. Code cleanup. Full simplify added for every loop of taylor command. Removed "replace temp" option, so that the "temp" variable can be renamed.
2004-07-13Update mathomatic to 11.3.minskim2-5/+5
Changes: Substantial change/improvement to simplify command. Added some more code to fix floating point inaccuracies. Improved solving. y=(x+1/x)^3 solves both ways, now. Full simplify after every loop in derivative command added. Move derivative and taylor commands to "diff.c". Added "-m" option to Mathomatic (memory size multiplier). It sets the size of equation spaces at run time.
2004-07-04Update mathomatic to 11.2e.minskim3-10/+10
Changes: Renamed the Mathomatic executable to "mathomatic". Add inverse Laplace transform. Usage: laplace inverse x Fixed bug in solving for zero, which occurred when there were no variables in the divisor. Some improvement in solve routine.
2004-06-28Update mathomatic to 11.2d.minskim4-13/+21
Changes: Slight improvement to integrate and laplace commands. Integrate/laplace x on (a+x)/(b+c) works now. Added more examples to the documentation (am.htm). 2 to 10 times speedup for simplify command by fixing polynomial factoring.
2004-06-26Update mathomatic to 11.2c.minskim2-5/+5
Changes since 11.2: Doubled the default amount of memory consumption to 11 megabytes. This allows equations twice as large. Fixed bug factoring infinity. Slight improvement to "integrate" command. Trap window resize signal and set number of screen columns and rows. Code cleanup. Fixed factoring of constants in factor command. Added "laplace" command. Allow "#" as a comment, as long as it is not immediately followed by a number. Enabled shelling out for all versions with the "!" command. Improvement and speedup for poly_gcd() and poly2_gcd(). Slight improvement in polynomial factoring made by deleting 1 line of code. Use getopt(3) to parse command line options. Made "-c" and "-h" options work together. If both are specified, work in HTML mono mode.
2004-06-04Update mathomatic to 11.2.minskim3-9/+9
Changes since 11.1c: Moved notification of polynomial factoring success to debug level 1 or higher. Removed "NO_COMPLEX_ROOTS" compile-time define option. I am thinking of making this a run-time option. Increased security of "SECURE" compile-time define. Absolutely no file operations are allowed or linked in. Added check for terminal with isatty(). This allows better piping into Mathomatic. Split up change-log ("changes.txt" and "changes_old.txt"). Changed "x!" to mean gamma(x+1) for Laplace transforms. Fixed parsing of things like "2e#", which failed before, thinking it was scientific notation. Wrote "primes/twin.c", to find twin primes. Added "help usage" command. Allow output of "help" command to be redirected to a file. Fixed parsing of variable names (like "pig", which didn't work right). Added "integrate" command. Fixed "derivative" command. Code cleanup. Fixed "taylor" command.
2004-05-20Update mathomatic to 11.1c.minskim2-5/+5
Changes: Perfected factoring of constants in final stage of simplify command.
2004-05-14Update mathomatic to 11.1b.minskim2-6/+5
Changes since 11.1: Added Java code generation (usage: "code java"). Added "list export" option, to display equations in exportable format. They can be cut-and-pasted to another math program with this option. Added a blank line after every equation listed with the "list" and "code" commands. Looks better. Made "MAX_VAR_LEN" completely flexible (can be set to any value; set to 80). Improved factoring of polynomials with repeated factors by trying to differentiate with respect to every variable.
2004-05-10Update mathomatic to 11.1.minskim3-17/+13
Changes: - Fixed "makefile" to be completely portable. No longer requires GNU make. - Simplified some code. - Converted token_type.kind to enum type for better type checking. - Removed all "unsigned" variables and type casts. - Simplified "simplify" command code. Some speed up. - Moved "*.in" and "fix*" to directory "tests". - Implemented long variable names (up to 40 characters).
2004-05-04Update mathomatic to 11.0f.minskim3-76/+24
Changes: - Removed calc() fraction code for accuracy because of fraction slack that was implemented in version 10.9c. - Solve increase power function wasn't working with odd number roots. Fixed. Appears to be another gcc optimizer bug. - Improved simplify command. - Tweaked factor_constants(). - Some changes to "makefile" for "readline" support. "GNU make" or "gmake" required now. - Fixed solving of "x^(1/99)=x". - Fixed readline bug.
2004-04-28Update mathomatic to 11.0e.minskim2-5/+5
Changes: - Changed unfactoring to improve simplification (again). This was a bug fix (first one in a long time). - Restored "epsilon" to original value in version 10.9b. Required for factoring large polynomials. - Changed factor_times() to preserve divides. This improved the "unfactor" command. - Added polynomial factoring to the very beginning of "simplify" command. This is necessary in case you "unfactor" a complicated equation, then "simplify".
2004-04-24Update mathomatic to 11.0d.minskim2-6/+5
Changes: - Removed some simplification optimizations in favor of correctness and simpler code. Minor slowdown. - Doubled "MAX_COMPARE_TERMS". - Simplify order poly_div then smart_div reversed. - Kludge for size checking in poly_div removed. - Broke "am.in". Edited. - Added "simplify poly" option to do poly_div first.
2004-04-22The author confirmed that the problem caused by gcc optimization wasminskim1-3/+3
fixed. Return to default optimization level. Bump PKGREVISION.
2004-04-21Update mathomatic to 11.0c.minskim2-8/+6
Changes: - Fixed HTML mode "screen_rows" and "screen_columns" to be unlimited. - Allow square brackets ([]) as parentheses and optimized parser. - Simplification was improved.
2004-04-20Bump PKGREVISION due to distfile changes (this package hasminskim2-4/+5
DIST_SUBDIR=${PKGNAME}). The author made functional changes without bumping the version number. :( This closes PR pkg/25258.
2004-04-17Update mathomatic to 11.0b.minskim3-26/+36
Changes since 10.9b: - Removed more MS-DOS specific code; functionality improved. - Implemented what I call "fraction slack". This perfects float to fraction conversion, and now Mathomatic doesn't rely on perfect floating point routines. "-O" option added to CFLAGS in file "makefile" (we can do this now). - Changed modf() to fmod() where possible. - Accuracy increased one more digit by reducing the "epsilon" variable. - Cleaned up "makefile". - Took a step towards internationalization with gettext(3) by calling _() for all English strings. Everything ported except for the "help" command. - Commented out some unfactoring code that wasn't helpful and took out the "pause" command from "all.in" for easier testing. - Rearranged "simplify" command to simplify better. - Removed some more unfactoring code and made simplification much better. Go figure. Perfection has been achieved. - Added "unfactor fully" option. - Added "make test" to fully test Mathomatic after compilation. - Removed masking of 8th bit in all Mathomatic input. - Updated primes program with a nice user interface.
2004-03-31Import mathomatic-10.9b from pkgsrc-wip.minskim5-0/+123
Packaged by Bruce J.A. Nourish, and slightly modified by me. Mathomatic is an automatic algebraic manipulator that is self-testing and strictly follows the rules of algebra. Mathomatic is an interpreter that can: - Solve, simplify, and compare algebraic equations. - Combine simultaneous equations. - Perform basic calculus operations. - Generate the sensitivity formula for one or more variables in an equation. - Act like a double precision floating point programmable calculator. - Perform complex number and polynomial arithmetic. - Compute the Greatest Common Divisor of numbers or polynomials. - Generate "C" code from equations.