summaryrefslogtreecommitdiff
path: root/math/mathomatic
AgeCommit message (Collapse)AuthorFilesLines
2007-04-22Update HOMEPAGE.minskim1-2/+2
2007-04-22Install images required to render HTML files. Noted by the author.minskim2-3/+7
Bump PKGREVISION.
2007-04-18Update mathomatic to 12.6.12.minskim3-13/+13
Changes since 12.6.8: 12/16/06 - Add "set special_variable_character" option. 12/26/06 - Comment makefiles and add "INSTALL.txt" for first-time users. 12/31/06 - Add "primes/primorial" Python program. 2/10/07 - "make install" wasn't working - fixed. 2/24/07 - Allow calculating large powers of complex numbers at the prompt, like (i#+1)^99. 3/06/07 - Display which color mode is in effect on startup of Mathomatic. 3/08/07 - Some minor interface improvements to the taylor command. 3/31/07 - Corrected limit command for infinity limits. 4/3/07 - Updated root "README.txt" and created "tests/limits.in".
2007-01-07Mechanically replaced man/* with ${PKGMANDIR}/* in the definition ofrillig1-3/+3
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
2007-01-02Update mathomatic to 12.6.8.minskim2-6/+6
Changes: - Add "set autocalc" option. - Fix limit command so it fails instead of giving wrong answers.
2006-11-19Update mathomatic to 12.6.7.minskim3-8/+7
Changes since 12.6.3: Fix sign bug for negative factorials (gamma function). Improve user interface of solve command. Add alternate command syntax for sum and product commands. Add "-r" option, which disables readline input processing. Fix optimize command. Documentation changes.
2006-09-13Update mathomatic to 12.6.3.minskim2-6/+6
Changes since 12.6.1: 8/20/06 - Fixed many very minor bugs. Added variable display precision. 8/21/06 - Display single digit primes when using "matho-primes pal". 8/24/06 - Increase display precision from 12 to 14 decimal digits. 8/27/06 - Added some tiny python programs: "fact/factorial" and "primes/mult". 8/31/06 - Add alternate command name "display" to flist command. 9/04/06 - Improve eliminate command by allowing "eliminate all all ..." to eliminate all variables two or more times.
2006-09-09Rename variable MAKEFILE to MAKE_FILE.obache1-2/+2
2006-08-15Update mathomatic to 12.6.1.minskim3-10/+10
Major changes: - Added alternate command names. - Don't allow imaginary numbers in integer only expressions. - Made poly_gcd_simp() do its job in one pass. - Add "set autosolve" option. - Make entry of "=(expression)" into "0=(expression)", instead of being an error. - Add fraction command. - Made simplification default to polynomial simplify. - "replace constants" command now approximates constants with roots. - Fixed a floating point accuracy issue recently introduced. - Other bug fixes and improvements.
2006-08-08Update mathomatic to 12.5.19.minskim2-6/+6
Changes: 6/18/06 - Made entering "a=b=c" give an error, instead of just ignoring "c". 6/18/06 - Made "inf" an invalid variable, should be a constant only. 6/18/06 - Improved prompting for a variable. 6/18/06 - Mathomatic now properly removes all trailing spaces from input. 6/21/06 - Beautified the Mathomatic manuals. 6/23/06 - Remove semicolon from output of "code python" command. 6/27/06 - Add "tests/trig.in" to the tests. 6/29/06 - Allow typing "?" as a quick way to get help.
2006-07-27Update mathomatic to 12.5.18.minskim2-6/+6
Changes: Fixed some gcc compiler warnings. Code and documentation cleanup. Removed BASICS define. Removed all isascii() tests from the source code.
2006-06-18Update mathomatic to 12.5.17.minskim2-6/+6
Changes since 12.5.15: Allow curly brackets ("{}") as parentheses. Allow all taylor command input on the command line. Add taylor command to tests. Added -u option (Unbuffered mode). Previously output was always unbuffered. Fixed compilation failure with some versions of GCC, when using readline. Made some nice changes to "gcd.c". Added "solve" as a command. Adjust copyright dates and file comments in all source files. Fix display of -0 (now displays as 0). Restore matho-sumsq to Prime Number Tools.
2006-06-05Update mathomatic to 12.5.15.minskim2-6/+6
Changes: - Excess variables cleanup of taylor command. - Changed argument of push command from an equation number to an equation number range. - Added easy selection of equation spaces, just type the number at the prompt. - Allow flist command when Mathomatic is compiled as a library.
2006-06-01Update mathomatic to 12.5.14.minskim2-6/+6
Changes: A number of minor changes. Fixes and improvements to the Mathomatic Command Reference. Upgraded clear and set commands to accept more than one argument. Gave real and imaginary commands a useful argument. Fixed a sloppiness in command line parsing in function get_range(). Code cleanup.
2006-05-15Update mathomatic to 12.5.13.minskim2-6/+6
Changes: Improved matho-primes by making primes buffer variable size. Added "set factor_integers" option. Removed "simplify poly" option, it was rarely useful. Code cleanup, commenting, and speed optimization. Improved simplification, added the fixed problem ("tests/linear.in") to the tests.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-26Update mathomatic to 12.5.12.minskim2-6/+6
Changes: - Documentation improvements. - Updated command description text in help command. - Converted many functions to inline that are only used once and should be inline. - Code cleanup.
2006-03-11Update mathomatic to 12.5.11.minskim2-6/+6
Changes: - "matho-primes pal" wasn't working, fixed. - Improved the "Equation not defined" error message for new users. - Worked on matho-primes program. - Automatically determine the variable if none is specified with the extrema command. - Code cleanup. - Helped simplification of complex exponentials. - Parse things like "2 2" as "2*2", instead of giving a syntax error. The default operator is always times.
2006-03-02Update mathomatic to 12.5.10.minskim2-6/+7
Changes since 12.5.8: - Bug fix for nintegrate command. Result was correct but not fully reduced. - Added "twin" option to "primes/matho-primes", removed "primes/matho-twin". - Automatically determine the variable if none is specified with the derivative and taylor commands. - Increased the maximum variable length to 1000 characters.
2006-02-13Update mathomatic to 12.5.8.minskim2-6/+6
Changes: - Doubled the default max expression size. Display current size on startup. - Made solve_sub() return -1 for an identity. - Speedup of the simplify command.
2006-01-25Update mathomatic to 12.5.6.minskim2-6/+6
Changes: - Fixed compatibility problem with "list export" and "list maxima". - Added "tests/conversions.in". - Made "code integer" command work with more languages than C and Java. - Added "code python" command option. - Added "fact/fact.c" and "fact/fact.py", which are factorial functions. - Completed "help geometry" page.
2006-01-21Update mathomatic to 12.5.5.minskim3-11/+12
Changes: - Added "doc/manpage.html", which is the man page for Mathomatic generated with "groff -Thtml -man". - Made sure all HTML files have the extension ".html". - Made sure we can allocate at least 1 equation space on startup. - Made entering things like "#1 a" succeed at entering a single variable expression. - Fix-ups to the symbolic math library. - Increased power of limit command. - A limit expression with infinity in it is assumed to be infinity.
2006-01-14Update mathomatic to 12.5.4.minskim2-6/+6
Changes: - Removed parsing of "infinity" and fixed parsing of "inf". - Removed matho-around. Use GNU "seq | factor" instead. - Allow "#+"number and "#-"number at main prompt, to select relative equation numbers. - Removed all primes (') support from variable names. - Added version command. - Added "-v" option. - Split off super.c into super.c and poly.c. - All polynomial routines are now in poly.c. - Improved roots command and put it in tests. - Fixed bug simplifying "a = (e# + (e#*i#))^(pi + (pi*i#))".
2006-01-08Update mathomatic to 12.5.3.minskim2-7/+7
Changes: - Ported matho-primes, matho-twin, and matho-pascal to long doubles. "make test" added in "primes" directory. - Alphabetic case sensitive mode set by default. - Added "list maxima" option. "list export" is now for other programs. - Code cleanup.
2005-11-23Update mathomatic to 12.5.2.minskim2-6/+6
Changes: - Fixed sum and product command docs and code. - Added [hyper]trig functions. - Documentation updates.
2005-11-11Update mathomatic to 12.5.1.minskim2-6/+6
Changes: - Corrected color and html mode routines. - get_expr() now has equation space pull. - You may now enter a "#" followed by an equation space number when prompted for an expression. - Ported nintegrate command to non-equations. No more commands to port. - Made redirected output ignore screen_columns. - Added "-q" option (quiet mode, don't display prompts). = The Mathomatic man page was improved.
2005-10-29Update mathomatic to 12.5.0.minskim4-20/+14
Changes: - Made library work with constant strings passed as input to matho_process(). - Added "set bold_colors" option. Use this if equations are difficult to read. - Removed "doc/ctips.html". - Cleaned up and improved makefiles. - Fixed bug in "compile.secure".
2005-10-11Update mathomatic to 12.4.12.minskim2-6/+6
Changes: - Perfected process() (the input processor). - Code cleanup. - Display polar coordinates in roots command. - Parse "**" as "^". - The docs were clarified. - Increased sizes of many input buffers.
2005-09-26Update mathomatic to 12.4.11.minskim2-6/+6
Changes: - The C complex number library was finished and perfected (complex_lib.c). - Yet another code cleanup. - Added "UNIX" compile-time define to the Prime Number Tools. - Some improvements to the Mathomatic documentation.
2005-09-10Take maintainership.minskim1-2/+2
2005-09-10Do not link against the curses library, which is not used by thisminskim2-4/+4
package.
2005-09-07Set maintainer to tech-pkg. Bruce is not maintaining thesereed1-2/+2
packages. Thank you Bruce for helping with pkgsrc.
2005-09-05Update mathomatic to 12.4.10.minskim3-12/+12
Changes: - Created "complex.h". - Fixed and documented "help all >filename", for quickly creating a quick command reference. - Fixed up and commented "main.c". - Split off "complex.c" into "complex_lib.c" and made it an independent complex number library. - Added "integrate definite" command option. - Corrected makefile install. - Added check in nintegrate command to fail if result contains infinity or nan. - A few complex number improvements were made. - Allow a text pre-processor to pipe input into Mathomatic.
2005-08-27Update mathomatic to 12.4.9.minskim2-6/+6
Changes: - Added display of average to tally command. - Fixed tests. - Fixed output redirection for some commands.
2005-08-27Update mathomatic to 12.4.7.minskim3-13/+15
Changes: - Fixed minor bug in real and imaginary commands. - Fixed roots command. - Cleaned up Prime Number Tools man pages. - Cleaned up the Mathomatic source code. - Corrected the Mathomatic library. - Ported taylor command to non-equations.
2005-07-30Update mathomatic to 12.4.6.minskim2-6/+6
Changes: - Added variable "error_str", which is set to the last error message when SILENT is defined. - Improvement in giving reason when solving fails. - The HTML docs were fixed.
2005-07-19Update mathomatic to 12.4.5.minskim2-6/+6
Changes: - Bug fix made to divide command. - Increased the number of equation spaces to 100. - Fixed a precision problem with the "list export" command. - Added and implemented function return_result(equation_number) at the end of most commands, to facilitate use as a library. - Some more comments were added and "list.c" was cleaned up. - Replaced most printf()s with a new function called error().
2005-07-06Update mathomatic to 12.4.4.minskim2-6/+6
Changes: - Added a few checks for NULL char pointers. - Major change in memory allocation: equation spaces are now only allocated as needed. - Changed optimize command to accept an equation number range. - Some minor code cleanups and commenting.
2005-06-23Update mathomatic to 12.4.3.minskim2-6/+6
Changes: - Allow larger fractions. - Doubled the default max expression size and memory requirements are now 20 megabytes. - Added ability to set the number of partitions when using the nintegrate command. - Some code and messages cleanup. - Fixed bug in nintegrate command (wrong number of function parameters). - Improved solve routine. - Update to "primes/matho-around.c".
2005-06-17Update DESCRiption to reflect recent feature changes. Noted by the author.minskim1-2/+0
2005-06-14Update mathomatic to 12.4.2.minskim2-6/+6
Bug fixes and minor improvements.
2005-06-05Update mathomatic to 12.4.0.minskim3-10/+12
Changes: - Added singularity checking and enabled numerical integration. - Fixed a bug in and documented numerical integration. - Simplify command was improved. - Startup displays more accurate memory usage info. - Update to the Mathomatic man page (added description). - Added NO_COLOR define (see README.txt). - Added function get_range_eol(). - Doubled MAX_COMPARE_TERMS to 400.
2005-05-31Update HOMEPAGE.minskim1-2/+2
2005-05-26Update mathomatic to 12.3.3.minskim2-6/+6
Changes: - Yet another improvement to the simplify command. poly2_gcd() was fixed. - Improved bounds checking for gcd(). - Pause command now takes an argument. - Made derivative, extrema, and integrate commands work with non-equations. - An important optimization was made to factor_times(). - Added and tested code for numerical integration. Currently disabled, to enable define "NUMERICAL_INTEGRATE" in CFLAGS.
2005-05-15Update mathomatic to 12.3.2.minskim2-6/+6
Code cleanup and documentation improvements.
2005-04-29Update mathomatic to 12.3. Bug fixes and many enhancements. Seeminskim3-18/+12
changes.txt for the complete list of changes.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-04-11Update mathomatic to 12.2c.minskim2-6/+6
Changes: - Use mkstemp() for temp file in edit command. Put temp file in "/tmp", instead of current directory. - Created my_strlcpy(), since Linux doesn't have strlcpy(). - Made everything declared static that should be. - Prime Number Tools cleaned up and compiled with "-Wall". - Made them all successfully compile with g++. - A bug fix for HTML mode. - Completely removed sensitivity command and simplified parsing code. - Fixed minor bug in fraction format display routine.
2005-03-28Update mathomatic to 12.2b.minskim3-10/+10
Changes since 12.1d: - Various improvements and bug fixes. - Documentation with full command reference.
2005-03-05Update mathomatic to 12.1d.minskim3-10/+10
Changes since 11.7: - Increased precision and optimization of code command. - Prepared code for future improvement to integrate command. - Integrate (a*constant^x) for x has been added. - Allow differentiation and integration of -constant^x. - Disabled power factoring of k^x*k^y, where k is a constant. This fixes a small bug. - Reduced stack usage by almost 2/3. - Reduced stack usage another large amount to the smallest it can be. - Laplace (a*constant^x) and (a/constant^x) for x has been added. - Allow integration of (a/constant^x) for x. - Moved all numeric GCD routines to "gcd.c". - Improved limit command for "limit x inf". - Halved the default equation size and doubled the number of equation spaces to 40. - Fixed bug that caused infinite loop for "2^(.5*n)" and incorrect answer for "-1^(2*n)". - Allow edit command to work with no equations defined. - Allow typing "abort" or "quit" during pause command. - They both abort the current operation. - Removed usage displayed every time a command fails. - Simplify command once again prefers 1/(constant^n) instead of (1/constant)^n. - Added "set finance" option. - Some improvement to simplification of constants. - Improved "factor number" command. Made self-testing and allow multiple integers. - Strip trailing newlines from string returned by getstring(). - Re-enabled power factoring of k^x*k^y, where k is a constant. - The bug it had caused just disappeared. - This is because a lot of changes have been made. - Some speed up in polynomial factoring made by ignoring anything that is not a polynomial in any variable. - Improved denominator rationalizer. - Disabled power factoring of -1^x*-1^y. This time it is done right. - Added new function debug_string(). It simplifies the debugging code. - Simplified pf_sub() (the polynomial factoring subroutine). - Fixed up Prime Number Tools man pages. - Improved matho-twin. - Added simplification of roots like 12^.5 to 2*(3^.5) in simplify command. - Code cleanup. - Improved the results of solving by not always factoring constants. - Added semicolon (";") to end of each line when using "list export". - Some improvement made to the simplify command. - More tests added to test suite. - Fixed bug in patch_root_div(). - Fixed infinity/nan bug in uf_repeat().