**Up to [cvs.NetBSD.org] / pkgsrc / math / mathomatic**

Request diff between arbitrary revisions

Default branch: MAIN

Revision **1.89** / (**download**) - annotate - [select for diffs], *Tue Nov 3 23:33:36 2015 UTC* (3 years, 11 months ago) by *agc*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-,
HEAD
**

Changes since **1.88: +2 -1
lines**

Diff to previous 1.88 (colored)

Add SHA512 digests for distfiles for math category Problems found locating distfiles: Package dfftpack: missing distfile dfftpack-20001209.tar.gz Package eispack: missing distfile eispack-20001130.tar.gz Package fftpack: missing distfile fftpack-20001130.tar.gz Package linpack: missing distfile linpack-20010510.tar.gz Package minpack: missing distfile minpack-20001130.tar.gz Package odepack: missing distfile odepack-20001130.tar.gz Package py-networkx: missing distfile networkx-1.10.tar.gz Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz Package quadpack: missing distfile quadpack-20001130.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.

Revision **1.88** / (**download**) - annotate - [select for diffs], *Thu Sep 13 09:13:09 2012 UTC* (7 years, 1 month ago) by *asau*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3
**

Changes since **1.87: +3 -3
lines**

Diff to previous 1.87 (colored)

CHANGES MADE TO MATHOMATIC 16.0.3 TO BRING IT UP TO THE NEXT VERSION: 09/09/12 - Allow use of editline library in Mathomatic, because somehow use of GPL libraries in LGPL code is not allowed, and GNU readline is GPL. I am so confused about this Debian bug#687063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687063 Based on the bug report's information sources, it appears he is saying the truth about this license issue, so I will have to upload new versions of Mathomatic with editline instead of readline to Debian. The only noticeable difference should be it doesn't save the history between Mathomatic sessions. I will comply with all that request it, though most distributions do not include editline, which has no major licensing restrictions. Readline is still perfectly usable and good as before, you just have to link it in yourself. 09/10/12 - Going to have to make a new release already, 2 days after the last one, so I can upload this readline licensing fix to Debian by linking with editline. There is no reason for anyone to upgrade to version 16.0.4, unless you wish to link with editline instead of readline. The proper code has been added. All you have to do is have the editline libraries loaded on your system, and run "make EDITLINE=1" to compile and link Mathomatic with editline. Mathomatic version 16.0.4 released Monday 09/10/12. CHANGES MADE TO MATHOMATIC 16.0.2 TO BRING IT UP TO THE NEXT VERSION: New command "set load" loads the current set options startup file again, displaying the startup file as it reads it in. If the file doesn't exist, or something is wrong, then an error message is displayed and the set command returns with failure. Accidently putting "load" in the startup file is now handled correctly. 08/09/12 - Allow "matho-primes all" and the command "list primes all" in Mathomatic to continually output consecutive prime numbers. 08/12/12 - Fixed any rman errors in the makefile so they won't be ignored. 08/17/12 - rmath and matho no longer set the debug_level or modulus_mode, so they can be set by the startup options file. 08/19/12 - Allow the repeat prefix on the approximate command, making it approximate and simplify as much as the calculate command does. Hopefully someday it will just give a temporary result, too. Numerical input into the symbolic math library now uses "repeat approximate" instead of just "approximate" to approximate the user's input, so the result is the same as the Mathomatic application's result. Disallow the same warnings to be repeatedly displayed, if the current warning is the same as the previous warning. 08/20/12 - Allow directory names as read command arguments, instructing the read command to change the current directory to the specified directory. Without any arguments, the read command now does an "ls" command in Unix/Linux, and "dir" under MS-Windows, listing the current directory contents. Running Mathomatic with a directory name argument now conveniently changes directory to that directory, then gives you the main prompt. 08/28/12 - Made "integer" type variables much more useful. For example, the following now happens generally: 1-> i^(4*integer) #1: i^(4*integer) 1-> simplify #1: 1 1-> i^((4*integer) + 1) #2: i^((4*integer) + 1) 2-> simplify #2: i 2-> i^((4*integer) + 2) #3: i^((4*integer) + 2) 3-> simplify #3: -1 3-> i^((4*integer) + 3) #4: i^((4*integer) + 3) 4-> simplify #4: -1*i 08/29/12 - Displays "Calculating..." whenever autocalc is used now. 08/30/12 - Added ability to set the normal text color. Still defaults to no color. Use "set color 0" to set the normal text color to green, as it has been for many years in the past. 08/31/12 - Removed the "set preserve_surds" option, since the approximate and calculate commands all take care of undoing that. The code remains, however "set preserve_surds" is no longer advertised. I have never used it. Surds are preserved, for accuracy's sake, by default. 09/05/12 - "set" as a null set option works now, so no one will have any trouble setting-up the set options startup file. Mathomatic version 16.0.3 released Saturday 09/08/12.

Revision **1.87** / (**download**) - annotate - [select for diffs], *Mon Aug 13 15:20:19 2012 UTC* (7 years, 2 months ago) by *asau*

Branch: **MAIN
**

Changes since **1.86: +3 -3
lines**

Diff to previous 1.86 (colored)

Update to Mathomatic 16.0.2 CHANGES MADE TO MATHOMATIC 16.0.1 TO BRING IT UP TO THE NEXT VERSION: A nice cleanup and documenting of everything, while my mind still works. 07/23/12 - Enabled links in "manual.pdf" (the Mathomatic User Guide and Command Reference), they were not working before, but they work great now. 07/24/12 - Allow -a option ("set alternative") with sets alternative color mode, useful in MS-Windows when using Cygwin with the MinGW compiled version. 07/27/12 - Two bug fixes today: Fixed using rlwrap under Cygwin and possibly other places, when running rmath. get_yes_no() question asker wasn't working in Cygwin or rmath. Fixed to always ask the question, even if the input is not a TTY. 07/28/12 - Reading directories and empty files gives an error now. 07/30/12 - Split off changes.txt to changes.txt and changes_series_15.txt. changes.txt and NEWS now contain only series 16 changes. Added tests/batman_gnuplot_bug.in to prove there is a plotting bug in gnuplot itself. 08/01/12 - Removed directive to use large font in the CSS for all Mathomatic documentation. This is so it can be browsed easily with a mobile device. The font size should be set by the user. 08/02/12 - A one-sided expression with an equals sign now only sets the expression equal to zero if autocalc didn't work on it. In the Symbolic Math Library, or without autocalc enabled, all is the same. This makes it more likely purely numerical input is only calculated, even when preceded or followed by an equals sign, when autocalc is enabled. Reason for this change: Why would you want to set a constant equal to 0? Fixed a bunch more error reporting bugs coded into version 16.0.1 of Mathomatic to apply identical operations to both sides of an equation. All fixed now. Points to the error correctly now, too. 08/04/12 - Major change to Symbolic Math Library. It now works exactly like the application when it comes to purely numerical input, approximating and displaying the result, however sign variables are not expanded and the result is not 100% simplified, so running "simplify sign" afterwards helps with that. To revert to the old way, just turn off autocalc, or set the numerical input equal to some normal variable; then there will be no automatic approximation nor simplification. You can tell when an input has been approximated because it was numerical input, because it will always be preceded with "answer =". 08/05/12 - m4/degrees.m4 copied with m4/functions.m4, when installing with "make m4install", thanks to a suggestion by Reini Urban, maintainer of the Cygwin version. Mathomatic version 16.0.2 released Monday 08/06/12. CHANGES MADE TO MATHOMATIC 16.0.0 TO BRING IT UP TO THE NEXT VERSION: 07/06/12 - Confirmed successful compilation and testing with the Tiny C compiler (tcc). Only needed to set the tcc linker library directories to the current gcc library directories to make it work (using the -L option). Searched globally for the word "simply" and fixed many outdated texts in the Mathomatic documentation and READMEs, deleting some wrongly used "simply"s, too. 07/07/12 - Allow "set modulus_mode language", where language is C, Java, Python, or positive. 07/08/12 - Now leaving the "UNIX" C preprocessor define alone, when "HANDHELD" is defined. "UNIX" was previously forced undefined. 07/11/12 - "make test", "make check", and ./t now display the actual Mathomatic version number being tested. matho-primes now has a -v (display version number) option, like Mathomatic does. Mathomatic now automatically clears out all old numeric calculations if it runs out of equation spaces, requiring no action from the user. 07/12/12 - The solve command never needs the "repeat solve" prefix anymore. The repeat flag is always set for the solve command, so that it will always do full simplifies when verifying. Added quadratic formula derivation and proof to "tests/quadratic.in". 07/17/12 - I came up with a swinging new and easy way to add, subtract, multiply, divide, modular and integer divide, and raise to the power of both sides of an equation by any expression. To add x+1 to both sides of the current equation, just type "+=x+1" at the main prompt. To divide both sides by c^2, type "/=c^2". You can add stuff to non-equations too, this way. Be sure and use the simplify command after this if needed, because only a small amount of simplification is done by default, just enough so you can see what is happening. 07/20/12 - Changed floating point to rational floating point conversion routine (f_to_fraction()) to ignore converting anything with over 15 digits, for greater accuracy. This fixes some small accuracy bugs: "factor number 17!" now gives an error instead of the wrong value. 07/21/12 - Integrate, Laplace, and Numerical Integrate commands now warn when the current equation is not a properly solved equation. Mathomatic version 16.0.1 released Sunday 07/22/12.

Revision **1.86** / (**download**) - annotate - [select for diffs], *Sun Jul 1 08:02:04 2012 UTC* (7 years, 3 months ago) by *asau*

Branch: **MAIN
**

Changes since **1.85: +3 -3
lines**

Diff to previous 1.85 (colored)

Update to Mathomatic 16.0.0 CHANGES MADE TO MATHOMATIC 15.8.5 TO BRING IT UP TO THE NEXT VERSION: Code, documentation, and user interface improvements, corrections, and cleanup. Fixed many possible bugs, some where the wrong level global expression buffers were being used. 05/26/12 - Push command improved with better responses. Same functionality. In the source code, tune-up variable integer_coefficients was renamed to "factor_out_all_numeric_gcds", because Mathomatic always tries to have integer coefficients this year, but it doesn't always factor out all numeric GCDs unless factor_out_all_numeric_gcds is true, or the factor command is used. The default is false, for more orderly and revealing coefficients. Of course, much of what Mathomatic does is try to improve readability and simplicity. There is no need to set this variable, just use the factor command. 05/27/12 - Removed C declarations for memmove(3), the defaults in /usr/include/string.h are probably better and what's wanted in every case. It would be very odd if this didn't work 100%. 05/28/12 - readline history file renamed to "~/.matho_history" from "~/.mathomatic_history". File name was too long for CygWin. Tested thoroughly compiling, installing, and running under the latest CygWin. Works fine, except for rlwrap. "rlwrap -v" returns with error, a successful return is how I test for its existence. Made output redirection work with the "list primes" command. 06/02/12 - Cleanup of Linux, Mac OS X, and Windows binary distributions. The Windows binary distribution now includes m4 scripts, in case CygWin is installed, allowing use of m4 Mathomatic in Windows. Fixed MinGW version to not output two carriage returns at the end of every line of list command output. 06/03/12 - If compiled with -DSHOW_RESOURCES, will give total CPU usage and RSS size in the "version status" command. Requires OS support. Some OSes will show even more information. Uses getrusage(2). 06/04/12 - Allow breaking out of user line-input requests with Control-C. Still have to hit the Enter key, but the command will be aborted. 06/05/12 - Added "lib/example.c", the simplest example yet of Symbolic Math Library usage. Compile with "compile.testmain" or practice compiling it by hand. The simplify command now returns the number of expressions simplified, so you can tell if "simplify sign" worked. The solve command can now require verification, by using the "verifiable" option, instead of the "verify" option. This causes unverifiable solves to return with failure, aborting any reads. Fixed missing code in internal C function free_mem(). I don't think it was used by anyone. A call to free_mem() is now made on exit, if Mathomatic is compiled with -DVALGRIND, to check for memory leaks. 06/08/12 - Added polynomial factoring to GCD result of divide command. It is always handy to know what the factors are of the GCD. Allow comma (,) at the end of most input lines. A comma now terminates an expression instead of giving an error. Allow commas all over the place, where-ever logical, in any Mathomatic command-line. They are used as separators, more so than spaces. 06/09/12 - Cleaned up variables command to always allow the count parameter, and to line up everything with 8 character wide tabs. Added ability to place the definite integration bounds on the integrate command-line, just like the nintegrate command. Added titles to most help command pages. 06/10/12 - The "factor number" command works much nicer now, and allows comma separators and zero. Developers should note that to remain the same as past versions, HTML mode needs to be "set html all" to output HTML at all times in both the application and the symbolic math library, even when redirecting output. Now setting all HTML mode with "make pdfsheet". "set html" only outputs HTML code to standard output. 06/13/12 - Added warning in "misc/known_bugs.txt" about LLVM/Clang optimizer failure when compiling Mathomatic with LLVM/Clang instead of gcc. If you enable any optimization at all, entering (32^.5) and the like will hang Mathomatic, putting it in an endless loop. So when compiling Mathomatic with LLVM/Clang, always disable optimization with "-O0", so that it will then run and pass all of the tests in 1 second and not be infinitely slower. Mathomatic will hang during "make test" if compiled with optimization enabled using LLVM. Mathomatic is not noticeably slower when compiled without any optimization, because everything is memmove(3)s and floating point arithmetic. 06/15/12 - Added repeat option to replace command. A handy feature that lets you try plugging different values into an equation. It checks if the result is an identity, too. 06/18/12 - The version command now has a "status" option, which behaves as before, displaying all version and status information. The version command by itself now only displays the Mathomatic version number. Running "mathomatic -v" is now a good way of testing for the existence of Mathomatic on your system, only outputting the version number to standard output and exiting successfully. 06/19/12 - Removed the parenthesizing of variable names in all messages. If the current expression is a non-equation, then prefixing or suffixing an expression with "=" will add that expression as the other equation side now, conveniently making it an equation you can solve. 06/22/12 - Added equation number ranges option to tally command. Type "tally -" to resume if the current equation hasn't changed. Type "tally all" to add together all stored expressions as the starting value. Specifying equation numbers or ranges will silently add them, then prompt for the next things to add. The average option now displays the number of entries (count) each time the average is displayed. When you exit by typing an empty line, the current total is saved in the next available equation space and made current, so it can easily resume with "tally -". "-" by itself always means the current equation. gnuplot now works with MS-Windows better. Tried running a Windows gnuplot test from scratch, without Cygwin, and it didn't work. It should be mostly fixed now. So go ahead and try plotting in Windows, after downloading and installing gnuplot. Please complain if any problems. Fixed a long-running problem with the plot command, by asking the user questions, only if needed, so that gnuplot will not give an error if you are multi-expression plotting. 06/23/12 - Moved load_rc() out of main.c so that the Mathomatic startup set options file can be loaded by the library, if the developer wishes. Changed a few things so that "set save" and "set no save" will work if load_rc() is called beforehand. 06/25/12 - The simplify command has been fixed for optimal integer coefficient factoring results and so "180*(sides-2)" simplification works nicely, by keeping the result the same as the start by factoring out rational constants greater than 1 (this is new), along with less than 1, if the coefficients remain or become integers. Many things cleaned up and finished, like the official documentation, the "code integer" command, and "examples/fact.c". 06/27/12 - Allow an ASCII string after the "set save" command, to save only that string in ~/.mathomaticrc, so that string, which should be set options, is for every Mathomatic session to start with. For example, "set save bold color" will start out Mathomatic in bold color mode every time. Enter "set no save" to remove. "set save" by itself saves all of the current set options for every future session. Mathomatic version 16.0.0 released Friday 06/29/12.

Revision **1.85** / (**download**) - annotate - [select for diffs], *Tue May 29 13:23:49 2012 UTC* (7 years, 4 months ago) by *asau*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2012Q2-base,
pkgsrc-2012Q2
**

Changes since **1.84: +3 -3
lines**

Diff to previous 1.84 (colored)

Update to Mathomatic 15.8.5 CHANGES MADE TO MATHOMATIC 15.8.4 TO BRING IT UP TO THE NEXT VERSION: General cleanup. 05/11/12 - Renamed fact(x) function to factorial(x), because Maxima uses the function "factorial(x)" and no one uses "fact(x)". Added factorial(x) as a standard function in rmath. Removed binary operator name "mod" from rmath, due to having a different meaning in conventional mathematics. It previously meant the % operator, which is a programming language construct and not math. 05/14/12 - Improved user interface of divide command. 05/16/12 - Improved introduction to Mathomatic in "doc/manual.html". 05/17/12 - Made more use of C function !isfinite(double) for better reliability. Checks for infinity and NaN on user input. 05/18/12 - Solve verify now quick simplifies the solve result, so you don't have to. This will result in better verification and less chance of oversized expressions. 05/20/12 - Fixed solving bug where it was throwing away absolute values. Improved the way Mathomatic looks. 05/21/12 - examples/limits.c is now a highly polished program, LGPL licensed. Compile with "./compile.limits". Tells the integer and float C data types, with sizes, characteristics, and verification for the current C compiler (cc). Display total number of unique solutions stored with "simplify sign". Fixed several errors in the simplify command documentation in the Mathomatic Command Reference. 05/22/12 - Fixed simplify command to simplify (x^2 - 1)^4/(x + 1)^2 properly, by factoring repeated factor polynomials at the very end. Fixed bug in divide command, wasn't calculating the polynomial GCD sometimes, etc, because input was not being expanded. Broken on 12/14/11, fixed today. 05/23/12 - Fixed limit command to return the original expression when the limit variable is not found or the expression contains no variables. A warning is given, telling that this is the case. Thanks to Parag Magunia for indicating that this was a bug. Previously these cases only returned with an error message. "tests/limits.in" limit command regression tests checked and re-added to the main tests. All still works the same as when these limit command regression tests were removed long ago. 05/24/12 - Cleanup, and remove "examples/c", replaced with "examples/compile.limits" and "examples/compile.roots". Mathomatic version 15.8.5 released Friday 05/25/12. CHANGES MADE TO MATHOMATIC 15.8.3 TO BRING IT UP TO THE NEXT VERSION: The version command now displays the last main prompt return value, and the number of allocated equation spaces. 04/29/12 - Added simplifying trig identities to the tests. Discovered "solve 0" doesn't work anymore, use "solve for 0" instead. "solve 0" will be fixed and enhanced shortly. 04/30/12 - "solve 0" and "solve verify 0" work now. "solve verify 0" will solve for zero and tell you if the equation is an identity or not, while "solve 0" simply solves the current equation for zero. "solve all verify 0" will verify that all entered equations are identities. With the roots command, the "Inverse check" value is not displayed unless debugging is enabled now. The iterative calculate command mode now always tells the number of completed feedback iterations. It was not apparent before. Documented and ignore pause command with demo mode now, instead of html mode. Demo mode is specified with -d, html mode with -x. 05/02/12 - Mathomatic now proudly displays when verifying a solve operation. Too many UI improvements to mention, all relatively minor. 05/03/12 - Added "copy select" option to the copy command, which selects the first created copy, making it the current equation, rather than not updating the current equation. 05/04/12 - Ran valgrind on the symbolic math library executable testmain, after running all the tests, no memory leaks were found at all! I was surprised! Now I get to pat myself on the back! I will make another release soon. 05/05/12 - "display simple" is now allowed, in addition to "display mixed", to display simple or mixed fractions as desired, regardless of the default. "set finance" option removed, replace with "set fixed" option. Works similarly, except now you can do "set fixed_point=0" to have integer-only output. "set no fixed" or "set fixed -1" turns off fixed-point mode, returning you to true floating-point mode. 05/06/12 - Added more integer factoring debugging code. It's a shame that Mathomatic only does double precision floating point arithmetic. Made "set no autodelete" the default. Numeric expressions will not be deleted. "set auto" leaves "autodelete" alone now. 05/07/12 - real and imaginary commands now append "_real" or "_imag" to the solved for variable name now, if a solved equation. This is for clarification and ease of use. 05/08/12 - Improved "misc/limits.c" and added GNU LGPL license preamble. Later moved to directory examples. -d demo mode now allows using the calculate command without prompting for the values of any of the variables. This is so the calculate command can be used with the online versions of Mathomatic. 05/09/12 - Moved all worthy example source code from directory misc to directory examples, so they can be included in the binary distributions. Moved and now available are limits.c, roots.c, and testprimes. Improved/shortened the eliminate command messages and made the "using" syntax consistent. Need "set debug -2" to suppress everything now, including warnings. "set debug -1" only suppresses helpful messages now, warnings will get through. Warnings are usually rather important. Mathomatic version 15.8.4 released Thursday 05/10/12. CHANGES MADE TO MATHOMATIC 15.8.2 TO BRING IT UP TO THE NEXT VERSION: Code cleanup. 03/27/12 - Added simplification of "tests/trig.in" and "tests/hypertrig.in" to the regression tests. 04/02/12 - Added ability to create all non-re-entrant code, so that the Apple app store won't complain. The line containing "_REENTRANT" in "includes.h" has been commented out, so nothing special needs to be done, when compiling for iOS. 04/07/12 - Added ability to make help command text paragraphs all one long line, instead of always expecting an 80 column or higher display. Useful for 40 column displays for example, as long as the display wraps at 40 columns, the output should look OK. Better than it did, anyways. Tables and such are preserved. See the beginning of "help.c". 04/10/12 - Fixed bug failing to run gnuplot with Mathomatic compiled with MINGW. This only affects the MS-Windows version. So if you have downloaded gnuplot under MS-Windows, the plot command should work the same as in all other operating systems, now. Be sure and name it gnuplot.exe and have it in an executable directory in your PATH. This fixed bug is thanks to Tom Sturgeon for bringing this error to my attention. This gnuplot fix will be included in the next release, version 15.8.3, and is now in the development version. The problem was caused by differences between the Unix echo command and the Windows echo command. 04/12/12 - Comparing expressions with the compare command will now tell if one expression is the negation (times -1) of the other. 04/22/12 - Added the HTML tidy command after rman, so that the HTML errors created by rman are all fixed. Added and documented matho_clear(3) to Symbolic Math Library, replaces clear_all(). Simply rename all occurrences of clear_all() in your code that uses the library with matho_clear(). 04/23/12 - Improved debugging code and error messages. 04/25/12 - The previous autocalc result is erased every time autocalc is used, unless "set no autodelete" was done. This is done in case you would like to keep every calculation you made stored in an equation space. The default is the previous behavior: "set autodelete", which only keeps one numerical calculation in memory. "autodelete" only means something when "autocalc" is on, and since the library has no calculate command, this is not available in the symbolic math library. 04/27/12 - Cleanup of equation space selecting, shelling out with !, etc. In the Mathomatic application, everything is now flushed before user input (with fflush(NULL)). fflush(NULL) is not used at all anymore in the symbolic math library. Mathomatic version 15.8.3 released Saturday 04/28/12. CHANGES MADE TO MATHOMATIC 15.8.1 TO BRING IT UP TO THE NEXT VERSION: Change of 12/18/11 partially undone. Preventing power collecting of absolute values doesn't seem necessary anymore, some other change done recently must have fixed it. Now power collecting is always done when requested, fixing a substantial simplification regression that began on 12/18/11. 03/13/12 - Small fix to main makefile. "mandir" and "docdir" no longer depend on "datadir". 03/14/12 - Small fix to simplification. Any absolute value (such as |x*y| = ((x*y)^2)^.5) is now not ever power expanded (to (x^2)^.5*(y^2)^.5 or (x*x*y*y)^.5), so some results are simpler, like simplifying |x^2-x|. 03/23/12 - A change to the matho script makes GNU m4 no longer quiet about any warnings or errors, when running m4 Mathomatic. Mathomatic version 15.8.2 released Saturday 03/24/12.

Revision **1.84** / (**download**) - annotate - [select for diffs], *Sun Mar 18 17:34:16 2012 UTC* (7 years, 7 months ago) by *asau*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2012Q1-base,
pkgsrc-2012Q1
**

Changes since **1.83: +3 -4
lines**

Diff to previous 1.83 (colored)

Update to Mathomatic 15.8.1 CHANGES MADE TO MATHOMATIC 15.8.0 TO BRING IT UP TO THE NEXT VERSION: Added some important missing documentation, and the makefiles were fixed. Some scary messages explained to make them less scary. 02/23/12 - All makefiles corrected to fix the following problem: Removed -Cv option from the install command, so that installing Mathomatic under NetBSD works without a hitch. The "install -Cv" option is not supported under some operating systems, so compiling and installing Mathomatic will now be easier on those systems. 02/27/12 - Added Heron's formula (calculates the area of any triangle, given all three side lengths) to the "help geometry" command. Mathomatic can solve for any side length, too. See "tests/heron.in" for some proofs. 03/01/12 - "make uninstall" is now passing the current "prefix" (the directory being operated on, like "/usr") to the lib and primes uninstall. 03/04/12 - Added noisy compile-time warning if DBL_DIG is not 15, and display it as digits precision in the version command. Removed "no right_associative_power" from set options listing, now only lists "right_associative_power" if it is set. A very unimportant and rarely used option that was just taking up display space. However, when set, this option makes Mathomatic work like most other computer algebra systems when parsing multiple power operators on the same level (without parentheses). So feel free to use it, or recommend I make it the default. 03/06/12 - Fixed a bug in modulus simplification; sometimes it would go in an infinite loop because it was not checking that it made the expression smaller. It now checks that the result is actually smaller. Surprisingly, this problem happened only when doing polynomial division for a modulus operator to simplify it. Here is a test expression, to see if you have this bug: (x % ((x - y)/integer_any1)). Simplifying it results in a hang, on any version of Mathomatic without the new bug fix. Mathomatic version 15.8.1 released Friday 03/09/12.

Revision **1.83** / (**download**) - annotate - [select for diffs], *Thu Feb 23 07:57:55 2012 UTC* (7 years, 7 months ago) by *asau*

Branch: **MAIN
**

Changes since **1.82: +4 -3
lines**

Diff to previous 1.82 (colored)

Update to Mathomatic 15.8.0 CHANGES MADE TO MATHOMATIC 15.7.3 TO BRING IT UP TO THE NEXT VERSION: 02/05/12 - The variables command now returns false (with error message) if no normal variables are listed with the default or "count" command line options. This is so it can detect numeric-only expressions, which may be useful. 02/08/12 - The set command now returns the string "Success." upon success, if the debug level is positive or zero. m4 Mathomatic startup m4 scripts required adjustment, so they wouldn't repeatedly say "Success.". 02/13/12 - The variables command by default now displays e, i, pi as e#, i#, and pi#, so you can tell they are not normal variables. This affected other functionality of the variables command, fix was uploaded before the end of the day. 02/14/12 - Change of 12/24/11 was undone. Many expressions containing the imaginary unit, such as the complex exponential expansion of the tangent function, were not getting simplified with the simplify command. See the complex number problem in "misc/known_bugs.txt". Simplification should work better now for expressions containing division by complex numbers. Mathomatic version 15.8.0 released Saturday 02/18/12. CHANGES MADE TO MATHOMATIC 15.7.2 TO BRING IT UP TO THE NEXT VERSION: Some minor user interface improvements were made. 12/14/11 - Further improved parse_complex(), so simplify works better and the divide command no longer approximates, giving more accurate symbolic answers. 12/18/11 - Combining powers and different denominators that contain absolute values like ((x^2)^.5) is now prevented. This allows correct simplification and solving when dealing with absolute values. Tested with the Batman equations, which, when plotted display the Batman logo ("tests/batman_plot"). 12/21/11 - Moved place where 1/i is converted to -i to within the complex number division handler, making complex number results more consistent and correct. 12/23/11 - Changed the chief author's main email address to "gesslein@mathomatic.org". The old linux.com email address didn't seem to work, reliability issues, etc. 12/24/11 - Combining different denominators that contain the imaginary unit (i) is now prevented. This prevents getting different answers after simplifying a complicated complex number expression. 01/01/12 - All copyright dates updated to include the new year 2012. Happy New Year everybody! "set html" in the library now allows pretty HTML output with redirected output and with 2D library result string expression output ("set display2d" or display command). Still no color HTML output for the library. 01/04/12 - Improvement to simplification made, less unnecessary divisions and prettier results of the simplify command. Needs testing. 01/05/12 - Added color HTML output for redirected output when using the symbolic math library. 01/24/12 - Increased the size of icons/mathomatic.png to 64x64 and made it look nicer. This is the new, resizeable Mathomatic logo: icons/mathomatic.svg. 01/25/12 - Published makenews.sh script to make the NEWS file out of the changes.txt file. 01/26/12 - Added tests/demo and tests/demo_sub, to run specific scripts, and create complete HTML output files from them. These are used to create the examples on the Mathomatic website. Mathomatic version 15.7.3 released Wednesday 02/01/12. CHANGES MADE TO MATHOMATIC 15.7.1 TO BRING IT UP TO THE NEXT VERSION: A C code cleanup was performed and new debugging/self-checking code was added. 11/19/11 - "make uninstall" now uninstalls the prime number tools and symbolic math library too. 11/20/11 - Cleaned up calculate command to allow feedback iteration of more than one expression at a time, for a consistent user interface. 11/22/11 - The Mathomatic command "help geometry" now enters the common geometry formulas for you, into equation spaces. Added "help conversions" which enters some common metric/English conversion formulas; with it, you just select the equation that does what you want, solving for the desired unit of measurement. Then you just type "repeat calculate" to try different values. "tests/geometry.in" and "tests/conversions.in" have been subsequently removed. 11/25/11 - When compiled for the Symbolic Math Library, Mathomatic defaults to single-line output ("set no display2d"), so that output can be easily fed back into the input. Otherwise, output defaults to 2D mode ("set display2d"). Mathomatic no longer ignores the display2d flag when using the Symbolic Math Library. 11/26/11 - The command "factor number" now works in the symbolic math library, similarly to the way it works in the Mathomatic application. 11/27/11 - matho-sumsq in the Prime Number Tools now gets its input from standard input, if invoked with no arguments. 11/29/11 - Added shell script "misc/testprimes" for a parallel, brute force test for the first 50,000,000 primes generated by matho-primes. Read the shell script for more information. Runs in 30 seconds on a fast, dual-core computer. 11/30/11 - Added -m option to matho-primes, which allows specifying a memory size multiplier. 12/02/11 - Added ability to push a text string into the readline history buffer, with the "push string" command. Whenever the command "push equation-number-ranges" fails, the entire argument text string is pushed, instead. 12/03/11 - Made it so that entering "#" followed by a variable name at the main prompt searches backwards through all equation spaces for that variable, and then selecting and displaying that equation space. "/" followed by a variable name performs similarly, but searches forward. 12/04/11 - Added "help main" command, which lists all things allowed at the main prompt. Added "tests/cubic2.in", which is the general cubic polynomial formula using 2 equations. Improved display order and functionality of "optimize all" command. 12/11/11 - Better detection of complex numbers with fixed parse_complex() internal function. Rationalizing denominators that contain absolute values ((x^2)^.5) is now prevented. This was a bug. Mathomatic version 15.7.2 released Tuesday 12/13/11. CHANGES MADE TO MATHOMATIC 15.7.0 TO BRING IT UP TO THE NEXT VERSION: 11/03/11 - Added "tests/heart.in", which plots a nice looking heart with gnuplot while running Mathomatic. Displaying thousands separators in MinGW was failing, now it must be specified with the THOUSANDS_SEPARATOR compile-time define. Thousands separators are not well supported in most standard C libraries, causing failure to display numbers, so they are now turned off. So now "set finance" works in the MS-Windows version, it was not working at all before (bug reports, anyone?). 11/04/11 - Testing "set finance" mode when doing the standard Mathomatic tests now. "tests/finance.in" now does "set finance" first thing. Do we need a round-up option for "set finance" mode? Currently rounds to nearest cent. 11/06/11 - Some minor improvements to the Mathomatic symbolic math library error handling output were made. And no more redundant nor inappropriate things are sent to standard output when SILENT=0, only helpful messages are output. Added the "unfactor count" command option, which also displays the resulting number of additive terms in each equation side. 11/10/11 - Improved error and warning messages. Rearrangements were made for future reliability and thorough testing. 11/11/11 - Allow multiple equation-number-ranges for the simplify command. 11/12/11 - Code cleanup and added more DEBUG error checking. Added a little helpful color to the help command. 11/13/11 - "repeat echo -" now draws a line of dashes, "repeat echo" clears the screen, etc. The derivative command now properly terminates as soon as the derivative reaches 0, whenever an order greater than 1 is specified. Previously it just kept differentiating, order times. The number of derivatives taken until the result reached 0 is displayed. No primes are added to the LHS variable if the required number of primes to add won't fit in the variable name. Previously it gave the wrong number of primes (') if they all didn't fit. Cleanup of the Mathomatic Prime Number Tools and their man pages. 11/14/11 - Fixed a missing check for out of memory failure in plot command. Plotting expressions with sign variables in them now gives a suggestion to try "simplify sign" first, because gnuplot doesn't handle +/- or sign variables, but it can plot multiple expressions at once. 11/17/11 - Made "make test" and ./t work under Cygwin, by ignoring trailing carriage returns when comparing test output. Mathomatic version 15.7.1 released Friday 11/18/11. CHANGES MADE TO MATHOMATIC 15.6.5 TO BRING IT UP TO THE NEXT VERSION: A C code cleanup was done. 10/02/11 - Allow an equation-number-range to be specified on the calculate command command-line, so that multiple equation spaces can be calculated automatically with a single command. 10/19/11 - Improved nintegrate command results. nintegrate of cos(sin(x+1)) wrt x from 0 to 1 now always gives the correct simplified result. Rewrote to allow specifying lower and upper bounds on command line. 10/20/11 - Divide command improved: Allow specifying the dividend and divisor on the command line. Other minor fixes. The Mathomatic command "plot x^2" works now, Mathomatic automatically replaces all ^ with ** on the plot command line. 10/21/11 - Added compilation option -fexceptions to CFLAGS in the Mathomatic application and library makefiles and build scripts. May be why exception handling wasn't working well in the past. 10/22/11 - Fixed the display command in the symbolic math library to respond to "set columns=number" to cut-off the 2D expression output string at the number column, instead of always 80 columns. And Unix shell style redirection for the display command works now, to be consistent with the other library commands, simultaneously returning a single 2D expression string (width controlled by the "set columns" variable) and outputting all specified 2D expressions to the file pointed to by gfp (width limit set to infinity). Trying to remove -lncurses from ld command line again, getting more build failures because of it. To compile under old Red Hat Linux, "LDLIBS=-lncurses make READLINE=1" must be used now. All other distros should easily compile with no changes now. 10/24/11 - Added the "variables count" option, to display the counts of each variable in the specified expressions or equations. 11/01/11 - Added "NEWS" file, which is just "changes.txt" reversed. "NEWS" is ordered neatly with the latest changes at the top. Mathomatic version 15.7.0 released Wednesday 11/02/11. CHANGES MADE TO MATHOMATIC 15.6.4 TO BRING IT UP TO THE NEXT VERSION: 8/25/11 - Now allowing balanced parentheses with anything inside them in variable names, so that they can preserve functions temporarily. Just type "set special ()" to use this option and stop getting errors when entering functions. They will not be real functions, just variables whose name is the complete function string. 8/27/11 - Added sinc(x) function to m4 Mathomatic, which is the normalized sinc function, defined as sin(pi*x)/(pi*x). 8/31/11 - Split off the generally useful stuff and general C math defines from am.h to standard.h; am.h only contains Mathomatic defines now. standard.h and complex_lib.c with complex.h can be included in your C math programs if you like, with no changes required. Use of gcd.c in other floating point programs that need a gcd() or double-to-fraction convert function is recommended. The code has been heavily tested by this CAS. 9/02/11 - Fixed and tested the variables command to handle complex number equations better. 9/04/11 - Cleaned up and improved documentation on modular arithmetic and its options. Mathomatic can simplify, calculate, and even solve modular arithmetic! 9/06/11 - The 2D display command's internals were rewritten to allow outputting to C string buffers. This allows the display command to return a multi-line, formatted expression string when using the Symbolic Math Library. Note that there is no color mode when outputting to a C string, but if you send the string to a terminal, it displays the specified equation space nicely in 2D fraction format. 9/18/11 - Mathomatic "help color" command page created. 9/19/11 - Ported Mathomatic to latest OpenIndiana SunOS operating system. Some changes were required and implemented for easier compilation. All tests passed! 9/24/11 - Improved set command error reporting. Mathomatic version 15.6.5 released Sunday 09/25/11. CHANGES MADE TO MATHOMATIC 15.6.3 TO BRING IT UP TO THE NEXT VERSION: 8/05/11 - Approximating complex number roots only when helpful or approximating, improving some results when imaginary numbers are used; for example, simplifying sqrt(sin(x)) now returns the best possible result. 8/06/11 - Added "make strip" target to allow easily running the Unix strip utility on the resulting binaries. Deleted the "make install-strip" and "make bininstall-strip" targets. Additionally display C compiler version number in version command. 8/09/11 - Added ability to make a shared library of the Symbolic Math Library, using the cmake utility. "CMakeLists.txt" was the only file changed. The shared library is thoroughly UNtested. :-) 8/13/11 - A colon character (:) placed before any main prompt input will make it ignore any error occuring in that particular line, so any current read operation won't abort. Any Mathomatic command preceded with a colon will always return with successful status. File "misc/identities.in" was added, showing a strength and weakness of Mathomatic. Removed "doc" target in makefile, due to interference from a directory of the same name; use the "html" target instead. Added cheat card "doc/quickrefcard.html", created by "make htmlcard" and scripts "makehtmlcard.sh" and "makehtmlcard.awk". The PDF of this currently has to be made manually with a web browser, using print to PDF file. Added ability to automatically create cheat sheet "quickref.pdf", created by "make pdfsheet", which invokes script "makepdfsheet.sh". 8/19/11 - General complex number root approximation bug fix: expressions like sqrt(sin(9)) now give the correct result, instead of a negative number, when using the calculate command. The calculate command is used to immediately evaluate it when you type "sqrt(sin(9))" into the m4 Mathomatic main prompt. 8/20/11 - The variables command now defines all "integer" and "sign" variables as "int" instead of "double". 8/21/11 - Rewrote the code command code lister to allow output to a C string. Code command is now completely available with string output in the Symbolic Math Library, meaning Mathomatic can automatically generate programming language code within other programs now. Mathomatic version 15.6.4 released Wednesday 08/24/11. CHANGES MADE TO MATHOMATIC 15.6.2 TO BRING IT UP TO THE NEXT VERSION: Source code and user documentation cleanup and corrections. Creating a PDF book from the Mathomatic man pages with "make bookman" is more likely to work now. Package txt2man must be installed to run "make bookman". 6/24/11 - Added file misc/known_bugs.txt, which is the current list of known bugs in Mathomatic. 7/04/11 - Added file tests/quadratic.in, just a script that solves the general quadratic equation. 7/06/11 - Fixed error messaging to not always give command usage information when a command fails or gives a negative result. Now only gives command usage info when helpful, like when something on the command line is incorrect. 7/07/11 - Fixed the Mathomatic derivative command to not fail with a helpful error message when the derivative is zero. Now it just gives a warning message along with the successful result of the constant zero. 7/23/11 - Mathomatic no longer compiles correctly with the latest Xcode gcc, due to a bug in Apple's gcc optimizer. Either turn the optimizer completely off when compiling with Xcode, or use the gcc provided by MacPorts. Xcode version 3.x and other non-Apple C compilers will work fine. All mention of Xcode has been removed from the Mathomatic distribution. 7/28/11 - Balanced parentheses and brackets are now allowed in variable names, if the "set special_variable_characters" command is run first. For example, "set special ()" will allow entry of named functions, converting them to variables, which might be useful in some cases. However, entry of variables like "f(x)" will not be differentiatable, because there is no "x" variable in that, only the "f(x)" variable. There can be no spaces encountered in the function; variable names end at any non-variable character, including space characters. I can change this, if anyone requests it. Entry of array elements is still possible with "set special []". This is the default. 7/29/11 - Prompts are now blue when reading files into Mathomatic in color mode. 7/30/11 - Allow an equation number range on the solve command line, for faster, more automated solving. If you want to solve all entered equations for x, just type "solve all x" or "solve verify all for x" to be sure. 7/31/11 - Allow "repeat read filename" command, which repeatedly reads a script until it fails or is aborted. 8/04/11 - "make install" now shows if installed executables are new or have changed since the last install. Mathomatic version 15.6.3 released Thursday 08/04/11. CHANGES MADE TO MATHOMATIC 15.6.1 TO BRING IT UP TO THE NEXT VERSION: 6/06/11 - Corrected datadir variable usage in the main Mathomatic makefile. Directly importing datadir could have catastrophically deleted the entire /usr/share directory with "make uninstall". 6/12/11 - Added proper compilation option (WIN32_CONSOLE_COLORS) for color mode in MinGW, in case use with mintty.exe is desired. Mathomatic version 15.6.2 released Sunday 06/12/11. CHANGES MADE TO MATHOMATIC 15.6.0 TO BRING IT UP TO THE NEXT VERSION: The Mathomatic user documentation and help have been shaped up. A BOLD_COLOR compile-time flag was added, to make Mathomatic default to using bold color mode. Used on the Mac and Windows versions of Mathomatic now. 5/8/11 - The "factor number" command now allows number ranges, in addition to integers and integer expressions. 5/9/11 - Install "m4/functions.m4" to proper directory (/usr/share/mathomatic/m4). The "m4" directory is no longer installed to the system doc directory. A big thanks to Terje RÃ¸sten of Fedora for showing me the way on this, and for his timely Mathomatic package maintenance in Fedora Linux. 5/11/11 - The matho-primes utility can now be run from within Mathomatic by typing "list primes". Put any arguments you want to pass to matho-primes on the "list primes" command line. Redirection doesn't work yet for this, so it remains undocumented. 5/15/11 - Added NOGAMMA compile-time define, which makes the factorial function integer only, if desired. Added color mode to the MinGW Windows version of Mathomatic, thanks to Doug Snead for the code. Tested in cmd.exe, command.com, and CygWin. The new color mode does not work in mintty.exe. 5/16/11 - Allow defining SILENT=0 when compiling the symbolic math library, so that "set debug level" works and normal Mathomatic debugging works within the library code. Thanks to Doug Snead for suggesting this. 5/21/11 - Changed "make check" to not use the time command, as /usr/bin/time is not available on all systems. "make test" performs the same function and still uses time. 5/23/11 - Updated the Free Software Foundation's address in the LGPL license text and in all source files. Mathomatic version 15.6.1 released Sunday 06/05/11.

Revision **1.82** / (**download**) - annotate - [select for diffs], *Sat Apr 30 23:28:56 2011 UTC* (8 years, 5 months ago) by *asau*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2
**

Changes since **1.81: +3 -4
lines**

Diff to previous 1.81 (colored)

Update Mathomatic to version 15.6.0. Changes in Mathomatic version 15.6.0: ------------------------------------ Many tweaks and corrections to simplification and polynomial operations were made. Created m4 Mathomatic input file "tests/trig". Lists all trig and hypertrig functions, allowing testing of their simplification and manipulation. Sped up polynomial operations to be another 30 times faster in some cases. Finished and cleaned up the polynomial factoring and division C code. Thanks again to Kingsley G. Morse Jr. for showing me this needed to be done. The "simplify quick" command was changed to not combine unlike denominators, making it much more useful, doing better simplification than any other simplify option sometimes. The tally command now returns the ending total and sets it as the current equation. Fixed an old bug just discovered today where expressions like (x - y)*(x^99 - y^99) were being factored into something huge with the simplify and fraction commands, which are the only commands that do polynomial factoring. Improved coloring scheme: all prompt and normal text is now the terminal emulator's default color for text (usually uncolored). Expressions remain colored if color mode is enabled. Thanks to Carl U. Grayser for the good idea. Improved the fraction command by factoring polynomials first. Specifying the "numerator" and "denominator" options together will make the fraction command return with failure if the result is not a fraction, otherwise the entire fraction is returned. Changes in Mathomatic version 15.5.3: ------------------------------------ Simplify expressions with positive bases like 16^(x/2) and (2^m)^n by default; previously only simplified these with the "simplify symbolic" command. The exit status of Mathomatic now shows any errors when run with the -e option. So if a command fails, it exits to the OS with the exit status 1. Exit status is 0 if everything went OK. Also works without the -e option, when files are specified on the shell command line. An error will abort the script, returning you to the operating system with an exit status of 1. Changed makefile to allow installing m4 Mathomatic without installing the documentation. Use "sudo make bininstall matho-rmath-install" to install m4 Mathomatic executables and man pages. Then "sudo make docinstall" installs all documentation. The rmath man page math function and constant lists have been corrected and the rmath man page has been added to the main user documentation. Output of universal constants is now prettier when displaying. No more i#, e#, and pi#, they are displayed as they are entered: i, e, and pi. HTML mode displays the small Greek letter pi for pi. The nintegrate command now works with complex numbers and trigonometry, and does not change the current equation to the result. Link the man page rmath.1 to matho.1 when installing, so that every executable has a man page. Added "numerator" and "denominator" options to the fraction command, which returns only the numerator or denominator after making sure the expression is a simple algebraic fraction. Autocalc now deletes only the previous autocalc when autocalc is used. It was deleting all autocalc results except for the current one every time, preventing copying. Improved simplification of expressions like (x + (2^(1/2)))^{3,4,5,6}. It broke a while back when factor_times() constant factoring was improved. The fix uses factor_times() less, preserving reduced surds. Saving "plot_prefix" with the "set save" command was not escaping semicolons, so they were disappearing from the prefix. Fixed now. Changes in Mathomatic version 15.5.2: ------------------------------------ Renamed the "factorial" directory to "examples". Fixed entering negative odd roots like (-32)^(1/3) to not approximate, instead simplifying to -2*4^(1/3). So all surds are preserved, now. Added man pages for the Mathomatic Symbolic Math Library functions. Allow building a PDF book of all Mathomatic man pages. Simplify command simplification sped up even more, by putting algebraic fraction reduction in the right place and not overusing it. Responsiveness has greatly improved for large expressions. Thanks go to Kingsley G. Morse Jr. for help with this and for filing a bug report. The simplify command functionality was improved. It was fixed to not mess up with unwanted fractional coefficients. Changes in Mathomatic version 15.5.1: ------------------------------------ Many minor cleanups and corrections were made. Renamed Mathomatic User's Manual to Official Mathomatic User Guide. Calculate command now outputs fewer newlines. Not so much blank space. Allow equation-number-ranges on the plot command line. For example, "plot all" works now, to plot all stored equations and expressions at once, for easy comparison. Changes in Mathomatic version 15.5.0: ------------------------------------ Fixed result of (constant % inf) to equal constant. Restored explicitly linking with ncurses library when compiled with readline, because Red Hat Linux wrongly requires this. There is no way to know ahead of time whether this is needed, so remove the "-lncurses" from the makefile if there is a problem linking. Upgraded set option "fractions_display_mode" to display fractions as mixed fractions when possible, when set to mode 2. A mixed fraction is possible when the numerator of a simple fraction is greater than the denominator, like 9/4, which displays as (2+(1/4)) in mixed fraction display mode 2. Mode 1 is the default, which functions as before, displaying 2.25 as the simple fraction 9/4. To display mixed fractions only on command, just type "display mixed" to display the current expression with mixed fractions output that one time. Autocalc (used when typing a numerical only expression at the main prompt) now keeps the result until next time autocalc is used, so that it can be acted on further by Mathomatic commands, if desired. All previous autocalc results are erased every time autocalc is used. This provides much better calculator functionality for Mathomatic and improves ease-of-use. Use HTML infinity symbol (∞) for infinities in HTML output mode. Allow solid fraction bar display in HTML output mode by using "–". Previously the ASCII dash character "-" was used, making a dashed line that separated the numerator and denominator of fractions. Now the line should be solid in HTML output mode. Improved divide command for numerical division. Added mixed fractions and cleaned up output. Ported matho-primes to MS-Windows and included it in the Windows version on my website: "http://mathomatic.org/winam2.zip". The fraction command is now repeatable by preceding it with "repeat". This repeatedly runs it until the smallest expression is achieved. Simplification was sped up, especially with "simplify quick", therefore differentiating and the Taylor command are faster. Removed the requirement for the Unix "time" command with m4 Mathomatic. Allow array variable refs like a[2] or a[1][2] when generating C code. Just "set special []" to allow straight brackets in variable names. Another ease-of-use enhancement was implemented, making it possible to use "#equation-number" anywhere in any expression, it will insert the expression at that equation number. This is an improvement that should have been done long ago. However, don't expect it to work with the plot command, "plot #1" does not work because the argument to plot is a string and/or the current equation. For example, typing things like "y=#1^2" is a convenient way to raise the expression in equation space number 1 to the power of 2 and set it equal to y, or whatever you wish. Changes in Mathomatic version 15.4.4: ------------------------------------ Many minor but obnoxious bugs were fixed. Fixed result of constant modulo 0 (e.g. 9 % 0) and infinity modulo constant (e.g. inf % 9) to be NaN. Disabled shelling out and the edit command only in m4 Mathomatic. The terminal hung when shelling out or editing with an m4 front-end. Plotting still works and pagination is working now for m4 Mathomatic. Cleaned up tests/quartic.in, it now works without m4 Mathomatic, and is a single formula to solve most fourth degree polynomial equations. Created a nice man page for rmath and matho (rmath.1). Changes in Mathomatic version 15.4.3: ------------------------------------ Fixed negate priority to be the same as TIMES/DIVIDE like Maxima (yay!). So now entering -x^2 is meaningful. Previously negate was the highest priority (high precedence) operator. Entering -2^2 now results in -4 instead of 4, as in most other mathematics programs (except for pure calculators like bc). Flush standard output before reading a line of input from the user when not using readline, so that the MinGW version works with mintty. Added a new "for" command, for plugging in sequential values into a variable in the current expression and displaying the results. The syntax is the same as the sum and product commands. Changes in Mathomatic version 15.4.1: ------------------------------------ Upgraded the plot command towards always giving gnuplot a proper plot command, no matter what the user input is. The plot command now automatically renames the variable in a single variable expression to the x variable, so plotting will always succeed. Removed Python script "misc/mp"; Couldn't get mpmath to work properly for all input. Improved results of the fraction command. Now saving readline history in $HOME/mathomatic_history when compiled for CygWin. Now additionally searching for "mathomatic.rc" in $HOME when compiled for CygWin. Ported matho-pascal and matho-primes to double floats if USE_DOUBLES is defined, for systems that don't support long double floats. Changes in Mathomatic version 15.4.0: ------------------------------------ Added "compare approximate" command option, use of which is more likely to result in a successful comparison. Runs the approximate command on both expressions before comparing, if needed. The variables command syntax was upgraded to be the same as the code command. Added code to delete identities in the optimize command. When identical equations were optimized, identities would result. These are now removed. Fixed incorrect syntax in the menu files in menu directory. Added "tests/quartic.in". At last, a working set of equations for calculating the four solutions of any quartic equation, similar to "tests/cubic.in". Fixed parser routine to give a helpful error message when a cursor or function key string is encountered. Escape, carriage return, and form-feed are ignored now. Changes in Mathomatic version 15.3.7: ------------------------------------ Fixed the modulus operator (%) to always evaluate to an integer when both arguments are integer. 7921%14 was giving 11.000000000001, now gives exactly 11. Equation number ranges for commands may include unallocated equation spaces now, allowing entry of any reasonable range. Changes in Mathomatic version 15.3.6: ------------------------------------ Many minor fixes for consistency and helpfulness were made. Cleaned up "factor numbers" command for consistency in operation and to work as documented. Warn when substituting a non-integer expression into an integer variable. Added m4/degrees.m4, this can be read into rmath with "rmath degrees.m4" to use degree units instead of radians for trig functions. "sudo make m4install-degrees" installs degree mode as the default for matho and rmath by appending m4/degrees.m4 to m4/functions.m4. Allow input of #equation-number as the LHS or RHS of any equation. It is replaced with the expression or RHS at the specified equation-number. Note that #equation-number is also the current equation selector, so entering it as the LHS at the main prompt will function differently. Simplify (integer % 1) and the like to 0. Generalized to instantly simplify to 0 the following: (integer_expression % +/-unit_fraction). Changes in Mathomatic version 15.3.4: ------------------------------------ Fixed an error reporting bug in the solve command. There was the possibility of spewed space characters with improper input. Added code so that solving for 0^2 or variable^2 will properly square both sides of an equation. Solving for variable^2 will isolate the square root of the largest expression containing that variable, and then square both sides of the equation. Works for any power and variable with any equation with roots. Changes in Mathomatic version 15.3.3: ------------------------------------ Fixed -e option to be more like entering what follows into the main prompt; That is, the autosolve option is left on and errors do not abort. "set finance" option now groups output with thousands' grouping characters if the locale information indicates any. For example: 2,000,000.00 Changes in Mathomatic version 15.3.2: ------------------------------------ Added "help options" command which lists invocation options (like -h). Entering "nan" now gives a warning, instead of an error, so that expressions containing NaN can be read back in without aborting. Added "-c count" option to matho-primes, optionally limiting the number of lines of primes that are output to "count" lines. Fixed an old, important bug in the Mathomatic solve routine, where solve was failing on some easy to solve equations indeterminately, because of incorrect infinite loop detection code. Solving should work perfectly now. This problem was discovered today with the input: "a=a+b" "a" "b". Changes in Mathomatic version 15.3.1: ------------------------------------ Improved the help command, allowing multiple help topics on the help command line. Improved upon "misc/roots.c", the automatic polynomial root finder. Increased the maximum number of equation spaces from 100 to 200. They do not consume memory unless they are used. Solving things like 0=(x+1)^15+x for x exited the solve routine without grace. This problem is now fixed for all solve requests that aborted with error. When using the symbolic math library, the display command now outputs all specified equation spaces in fraction format and returns the last equation space listed as a result. Before it was just a crippled list command with a little simplification that didn't output anything. Changes in Mathomatic version 15.3.0: ------------------------------------ Changed -u option to also echo line input, so that m4 Mathomatic is easier to use. X-Windows icon for the Mathomatic entry within desktop menu systems. The repeat command can now be shortened to 4 characters, like any other command. Capitalized E, I, and PI are now no longer parsed as universal constants. Entering E, I, or PI will now result in the general variables E, I, and PI, unless "set no case" is previously entered. This change undoes version 15.2.0 Mathematica compatibility, due to kind user feedback. Entering e, i, or pi still gives the universal constants e#, i#, and pi#. Removed "set negate_highest_precedence" option. This was done for compatibility and so that less parentheses are displayed within expressions. Polynomials should display very nicely now, powers like "x^2", "y^3", and "x^y" are not parenthesized unless need be. Added "list hexadecimal" command option, which displays expressions exactly as stored internally in hexadecimal. No precision is lost, this is because the floating point values are not converted to decimal. Error reporting was improved. Changes in Mathomatic version 15.2.2: ------------------------------------ Added "set plot_prefix" option, which allows custom plot functionality. Changes in Mathomatic version 15.2.1: ------------------------------------ Added the -e option, which processes mathematical expressions and Mathomatic commands instead of input files on the shell command line. Improved results of solving for zero. Results should have reduced integer coefficients, by factoring out the GCD of rational coefficients.

Revision **1.81** / (**download**) - annotate - [select for diffs], *Mon Aug 30 02:48:40 2010 UTC* (9 years, 1 month ago) by *asau*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3
**

Changes since **1.80: +5 -5
lines**

Diff to previous 1.80 (colored)

Update to Mathomatic 15.2.0 CHANGES MADE TO MATHOMATIC 15.2.0 TO BRING IT UP TO THE NEXT VERSION: All makefiles were improved. Library test/example program is renamed to "testmain". Package maintainers please take note: support for the DESTDIR environment variable was added to the makefiles; for proper operation when packaging version 15.2.1 or higher, please remove any patches for missing DESTDIR support. m4 Mathomatic should work now when included in the Mathomatic package (make m4install). Thank you for packaging Mathomatic! If I did anything wrong, please let me know. 8/26/10 - Added the -e option, which processes mathematical expressions and Mathomatic commands instead of input files on the shell command line. For example, entering "mathomatic -eq 2+3" gives "answer = 5". This functionality has been requested many times by Mathomatic command line users. A complete example: CHANGES MADE TO MATHOMATIC 15.1.6 TO BRING IT UP TO THE NEXT VERSION: Minor improvements were made to the user documentation. 8/22/10 - Removed "Complex number roots approximated" warning message, since this happens often. Capitalized E, I, PI, and Pi are now accepted as the universal constants e, i, and pi, without needing to enter "set no case". This allows Mathomatic to easily accept Mathematica style expression input. m4 Mathomatic now additionally accepts Mathematica style capitalized function input. matho and rmath now display elapsed, CPU, and system times in seconds upon exit. 8/23/10 - Fixed #equation-number entry at the main prompt to always work and allow an expression or equation following on the same line to be entered at that equation space. For example: "#10 y=1/x" will work now; previously only worked if equation space number 10 was previously allocated and used. The way it works is: all equation spaces up to and including number 10 are allocated, if not already allocated, upon entry of "#10". Equations spaces are allocated with the memory allocator malloc(3). CHANGES MADE TO MATHOMATIC 15.1.5 TO BRING IT UP TO THE NEXT VERSION: 7/26/10 - Disabled ncurses call for auto-color detection when CYGWIN is defined while compiling the source code, due to a reported problem of readline failing with ncurses in Cygwin. 7/28/10 - Disabled readline history save file for the Cygwin port, because it is a filename that starts with a period. 7/31/10 - Added "set fractions_display" option, to allow disabling the automatic conversion of fractions like .5 to 1/2 for display. Developer requested and useful in the symbolic math library, when numerical fraction output isn't wanted. 8/01/10 - Fixed a memory leak when ignoring the output string in the symbolic math library. 8/04/10 - Preserve overflowed powers like 2^2222 rather than aborting with an error message. Allow simplification of math like 2*2^2222 and 2/2^2222. 8/08/10 - matho-primes runs twice as fast with the -ffast-math gcc compilation option, which is now enabled by default. Don't try -ffast-math with the main Mathomatic program though, because then Mathomatic won't work properly. CHANGES MADE TO MATHOMATIC 15.1.4 TO BRING IT UP TO THE NEXT VERSION: Many minor tweaks and improvements. 7/03/10 - Makefiles and compile scripts were corrected and enhanced per http://www.gnu.org/prep/standards/ 7/06/10 - Changed all "#if true" and "#if false" conditional commenting to "#if 1" and "#if 0" in the C source code, thanks to Min Sik Kim of NetBSD pkgsrc. CHANGES MADE TO MATHOMATIC 15.1.3 TO BRING IT UP TO THE NEXT VERSION: All of the Unix man pages and user manuals for Mathomatic were fixed. The compare and "solve verify" commands now simplify more thoroughly with "repeat simplify" for better expression equality determination. 6/17/10 - Greatly improved file operation error reporting by using the perror(3) function. 6/18/10 - Fixed categories in "icons/mathomatic.desktop"; Mathomatic now goes under valid categories, mainly Education. CHANGES MADE TO MATHOMATIC 15.1.2 TO BRING IT UP TO THE NEXT VERSION: 6/6/10 - I made mistakes in the improvement to the simplify command of version 15.1.2, the original working simplify logic of version 15.1.1 is now restored, sorry. CHANGES MADE TO MATHOMATIC 15.1.1 TO BRING IT UP TO THE NEXT VERSION: A general cleanup was done. A small improvement was made to the final result of the simplify and fraction commands. Showing intermediate results in the calculate, sum, and product commands is now done with "set debug 1". 5/28/10 - Added "tests/collatz.in", the Collatz conjecture as an automatically computable equation. CHANGES MADE TO MATHOMATIC 15.1.0 TO BRING IT UP TO THE NEXT VERSION: Code and documentation cleanup. 5/21/10 - Added "primes/matho-sum", a utility that sums its command line arguments or standard input. Use "matho-primes 0 2000000 | matho-sum" to find the sum of all primes less than 2,000,000. Solves Project Euler problem #10: http://projecteuler.net/index.php?section=problems&id=10 5/23/10 - Primes (') are allowed in variable names now, if not using the symbolic math library, so that the derivative, integrate, and nintegrate commands can change the dependent variable to y', y'', etc. This can be turned on in the symbolic math library by the command "set special_variable_characters='". Non-alphanumeric characters in variable names are now converted to underline characters (_) when exporting to a programming language or to a different program. CHANGES MADE TO MATHOMATIC 15.0.8 TO BRING IT UP TO THE NEXT VERSION: 5/10/10 - Added "help constants" command. 5/11/10 - Integer variables are now specified by using a variable name that starts with "integer", like "integer1", "integer_x", etc. Currently only the modulus operator "%" checks for integer variables, to help with simplification. 5/12/10 - Corrected the output string type of the symbolic math library API. It was erroneously declared as type "const", possibly causing a memory leak. 5/13/10 - Moved and adapted "makefile.lib" to "lib/makefile", so the symbolic math library build is isolated. Previously "make clean" was required between different builds. All makefiles require GNU make now. CHANGES MADE TO MATHOMATIC 15.0.7 TO BRING IT UP TO THE NEXT VERSION: 4/26/10 - Allow "make pdf" to generate PDF documentation from the HTML documentation with htmldoc. Please read the comments in the makefile for all available options. 4/29/10 - For every makefile, CFLAGS has been modified to include OPTFLAGS as required by the Fedora Linux build system, and OPTFLAGS defaults to the optional gcc specific flags like optimization. In the symbolic math library, made available the equation number of the result of calling the API, if also stored in an equation space. The result equation number is stored in the global "result_en". Useful if you want to know where the result was stored, to act on it with further commands. CHANGES MADE TO MATHOMATIC 15.0.6 TO BRING IT UP TO THE NEXT VERSION: Corrections and improvements to the documentation were made. 4/3/10 - Vastly improved the "factor number" user interface, now factors integer expressions like 2^32-1. "factor number" is disabled in library mode. 4/13/10 - The real and imaginary commands no longer fail when the expression is not complex, just a warning is given. 4/14/10 - Changed normal display of "-1*" to "-", for prettier 2D expression output, so things like "-a" display properly, not as "-1*a". CHANGES MADE TO MATHOMATIC 15.0.5: 1/28/10 - Added a Python utility called "primorial" to the Prime Number Tools install that multiplies together the results of matho-primes, displaying the primorials of the integers given on the command line. 3/18/10 - Changed author email address to "gesslein@linux.com". 3/23/10 - Catch SIGHUP and SIGTERM signals for proper termination of the Mathomatic program; readline was messing up when Mathomatic was terminated by closing the shell window. The plot command now always plots expressions with grid marks displayed for reference. CHANGES MADE TO MATHOMATIC 15.0.4: 1/21/10 - In the makefile, changed the HTML man page generator back to rman because groff HTML output looks really bad and rman allows linking to other man pages. groff is no longer used. 1/24/10 - Fixed "make m4install", the installed rmath and matho programs weren't working. 1/27/10 - Added GNU LGPL license notices to every C source file with a copyright notice, for proper protections. CHANGES MADE TO MATHOMATIC 15.0.3: 1/9/10 - Fixed a problem only in the version 15.0.3 makefile, where it didn't respect the CC environment variable set by the user, instead it always used "gcc" as the C compiler. CHANGES MADE TO MATHOMATIC 15.0.2: 12/27/09 - Moved get_screen_size() from main.c to am.c because it is used in the library when compile-time options UNIX or CYGWIN are defined. Thanks to Cygwin port maintainer Reini Urban for noticing and fixing this problem. Defining UNIX or CYGWIN in library mode is not recommended. 12/31/09 - Added code to allow any command to be preceded by "repeat", which sets the repeat flag for the following command. Most commands ignore the repeat flag. 1/1/10 - Ported divide and roots commands to be repeatable. Also repeatable are the calculate and eliminate commands. 1/2/10 - Allow Taylor series computation even if the specified differentiation variable is not found in the expression, giving a warning. Ported simplify command to be a repeatable full simplify; that is, typing "repeat simplify" repeatedly runs the simplify command until the result stabilizes to the smallest size expression. 1/7/10 - Thanks to pretty C code submitted by Simon Geard, the code and variables commands have been made much more readable. 1/8/10 - Made Mathomatic easier to compile under Solaris, thanks to Michael Pogue of Sun. Fixed failure to compile under BSD Unix when compiling with readline support. CHANGES MADE TO MATHOMATIC 15.0.1: 12/19/09 - The last few versions fix the ugliness caused by the GCD factoring change made on 6/22/09. Today's change factors out the numerical GCD of rational coefficients as needed to simplify. Most simplification results should be beautiful and the simplest possible again now, without the misleading observed magnitude caused by always factoring out the GCD, which was why the change of 6/22/09 was made. CHANGES MADE TO MATHOMATIC 15.0.0: 12/12/09 - Fixed a problem with the -q (quiet mode) option being ignored if the session options were ever saved with the "set save" command. 12/13/09 - Added code to allow Mathomatic output to be redirected by default. Fixed the derivative command to be successful even when the result is 0, when compiled as a library. 12/14/09 - Added ability to log symbolic math library results, and made command behavior more consistent in the library by always returning the final result string. 12/16/09 - The factor command now factors more by factoring out the GCD of rational coefficients. CHANGES MADE TO MATHOMATIC 14.6.3 TO BRING IT UP TO 15.0.0: Cleanup and more bug fixes. 11/26/09 - Added detection of the terminal's ANSI color availability, when readline is enabled. 11/28/09 - Added detection of divide by zero and NaN when using the "solve verify" command, for more correct results. Solving now factors out the GCD of rational coefficients, for improved results. The fixes today are from errors solving equations like (2*x/(x - 3)) + 3 = 6/(x - 3) 11/29/09 - Disallow the variable named "nan". NaN cannot be directly entered into Mathomatic. 11/30/09 - Added shell scripts "t" and "tests/t" to easily test Mathomatic by typing "./t". 12/2/09 - The fraction command now factors out the GCD of rational coefficients like the solve command does, so that coefficients in algebraic fractions become integers. The GCD verifying routine was perfected by making it very strict, like it should be.

Revision **1.80** / (**download**) - annotate - [select for diffs], *Tue Sep 22 02:05:50 2009 UTC* (10 years ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3
**

Changes since **1.79: +5 -5
lines**

Diff to previous 1.79 (colored)

Update mathomatic to 14.5.5. Important changes since 14.4.4: - General cleanup and addition of helpful descriptive text. - Cleanup and major bug fixes. - Enhanced code for use with iPhone. - Minor corrections and additions to the code and documentation.

Revision **1.79** / (**download**) - annotate - [select for diffs], *Wed Jun 10 17:03:54 2009 UTC* (10 years, 4 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2009Q2-base,
pkgsrc-2009Q2
**

Changes since **1.78: +5 -5
lines**

Diff to previous 1.78 (colored)

Update mathomatic to 14.4.4. Changes since 14.3.6: - Perfected the user interface for the sum, product, and integrate commands. - Restored initial full simplify in the limit command for better results, that was unintentionally removed in version 14.1.0. - Fixed an endless loop in simplification; results look better, too. - Added "set save" command, which makes all current session options permanent, by saving them in "~/.mathomaticrc". "set no save" removes this file. - Added "mathomatic -s" option, which stands for secure mode. This is a run-time option that disallows shelling out and writing files, and was created for use on public servers that can't use the SECURE compile-time define. - Doubled the default maximum mathematical expression size to allow larger expressions. - A fatal compilation error when compiling with defines other than UNIX was fixed. - Slight improvement made to simplification; results are more simple and stable. - The maximum integer that can be factored has been raised from 14 to 15 decimal digits. - Small fix made to fraction command and "simplify fraction" for better looking fractions. - Added a "simplify quickest" command option, which does no unfactoring nor factoring. - Made full simplification more efficient and simpler by cutting out unnecessary loops. - Improved the divide command and enabled its use in the symbolic math library. Enabled code and variables commands in library, too. Currently, library output of these 3 commands can only be gathered by redirecting to a file. - Added "set autoselect" and "set auto" options. Use "set no auto" to always store entered expressions into equation spaces, unless it is a command.

Revision **1.78** / (**download**) - annotate - [select for diffs], *Tue Apr 7 17:30:25 2009 UTC* (10 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.77: +4 -4
lines**

Diff to previous 1.77 (colored)

Update mathomatic to 14.3.6. Changes since 14.2.7: 12/23/08 - Simplified makefile. 12/26/08 - Fixed rules for simplifying "(x^n)^m" so "misc/john.in" and others simplify better. Works similar to Maxima now. 12/27/08 - Numeric GCD now properly returns the other parameter, if either parameter is 0. Renamed "misc/polyroots.c" to "misc/roots.c" and simplified this example code. 12/30/08 - Added "update" script, which updates the function prototypes in "cproto.h". 1/1/09 - Optionally factor out the gcd of integer coefficients when improving readability, for example: 6x+4y becomes 2*((3*x) + (2*y)). This is now the default. 1/13/09 - Added descriptions of all interesting math scripts in "tests/README.txt". 1/16/09 - Allow nintegrate and "integrate definite" commands in the symbolic math library; the bounds are specified in the two equation spaces following the current equation. 1/18/09 - Made expression and equation entry always consecutively numbered equation spaces, unless memory is exhausted. 1/19/09 - Made consistent list command output with only one newline after each equation space. 1/21/09 - Fixed erroneous doubling of parentheses display when solving and showing steps with "set debug 2". 1/22/09 - Added -b option, to conveniently set bold color mode from the command line. 1/25/09 - Improved looks of eliminate command by not solving if equation is already solved. 2/3/09 - Table of contents was added to the Mathomatic User's Manual. 2/5/09 - Added display of any numerical fractions when calculating or using calculate command; for example, entering "1/2+3/8" now results in "answer = 0.875 = 7/8". 2/6/09 - Removed erroneous lsqrt() routine obtained from Wikipedia, so that matho-sumsq works properly now. 2/7/09 - Disable pause command when appropriate (when input not a tty and for symbolic math library). 2/8/09 - Polished up educational example scripts in "tests" directory. 2/11/09 - Entry of a function now results in "Named functions currently not implemented" error message. 2/12/09 - Bugfix to matho-primes and added "misc/limits.c". 2/15/09 - The fraction command was fixed to give better results. "set display2d" flag now no longer affects any results at all, it only affects 2D output mode. 2/17/09 - Renamed -h (HTML) option to -x, -h is now the help option. Added -w option to set wide output mode. 3/9/09 - Found the correct formulas for solving the general cubic equation on Wikipedia, so "tests/cubic.in" always gives correct answers now. 3/12/09 - Tweak made to simplify result beautifier: factoring priority only given to real variables now, special constant variables pi#, e#, and i# have no effect and behave like any constant now. 3/15/09 - Corrected and improved parse_complex() C function for more complex number functionality and a bug fix. 3/18/09 - Added "set negate_highest_precedence" option, which allows the negate operator to be the lower precedence of times and divide, like it is in Maxima and most other math programs. 3/24/09 - Made "set no autosolve" mode more useful by making it solve if a solve variable is entered with an equals sign. This allows easy entry of both single variable expressions (with no =) and solve variables (with =) while in this mode. 3/27/09 - Selecting equations by entering the equation number was returning with error if the equation space was empty. Fixed, you can now select any previously allocated equation space.

Revision **1.77** / (**download**) - annotate - [select for diffs], *Sun Dec 21 02:02:25 2008 UTC* (10 years, 9 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4
**

Changes since **1.76: +5 -5
lines**

Diff to previous 1.76 (colored)

Update mathomatic to 14.2.7. Numerous improvements since 14.0.5. See http://mathomatic.orgserve.de/changes.txt for the complete list of changes.

Revision **1.76** / (**download**) - annotate - [select for diffs], *Sat Jun 21 17:23:26 2008 UTC* (11 years, 3 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
**

Changes since **1.75: +5 -5
lines**

Diff to previous 1.75 (colored)

Update mathomatic to 14.0.5. Major changes since 12.8.0: - Improved the "solve verify" command option. - Added "derivative nosimplify" command option. - Added "simplify sign" command option. - More correct simplification restriction added. - Disallow variable name "all" in expressions. - Turned off readline file name completion. - Implemented integral divide operator "//".

Revision **1.75** / (**download**) - annotate - [select for diffs], *Wed Nov 21 23:36:23 2007 UTC* (11 years, 10 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4
**

Changes since **1.74: +4 -4
lines**

Diff to previous 1.74 (colored)

Update mathomatic to 12.8.0. Changes since 12.7.7: 10/10/07 - Proper error reporting for shelling out (! command). 10/12/07 - Created directory "m4" to play with using m4 to allow easily entering functions through macros. 10/14/07 - Improved "set dir" to display the new current directory and to default to the home directory. 10/17/07 - Entering "=" by itself now swaps equation sides instead of doing nothing. 10/18/07 - New "mathomatic.ico" file with transparent background. 10/21/07 - Increased speed of taylor command up to 3 times by not doing an unnecessary simplification. Added "tests/distance.in". 10/22/07 - Fixed a small problem in calculate command, allowing instant calculation of (2+2i)^99 now. Entering any power of any complex number should work now. 10/29/07 - Solving now reports what degree polynomial the equation is. 11/12/07 - Fixed 3 bugs in optimize command. 11/16/07 - Fixed another bug in optimize command.

Revision **1.74** / (**download**) - annotate - [select for diffs], *Sat Oct 13 15:27:52 2007 UTC* (12 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.73: +4 -4
lines**

Diff to previous 1.73 (colored)

Update mathomatic to 12.7.7. Changes: - Stabilized simplify command.

Revision **1.73** / (**download**) - annotate - [select for diffs], *Sun Sep 16 16:53:13 2007 UTC* (12 years, 1 month ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2007Q3-base,
pkgsrc-2007Q3
**

Changes since **1.72: +4 -4
lines**

Diff to previous 1.72 (colored)

Update mathomatic to 12.7.6. Changes since 12.7.2: Improved documentation. Added display of maximum memory usage to version command. Allow read command in the Mathomatic library and fixed memory leak with it. Added echo command per a user's request. Improved factoring out constants, to make all coefficients reduced integers by factoring out their gcd. Added gcd_verified() function, to weed out false floating point gcds. Made limit command say whether it is substituting or solving. Added "mathomatic.desktop" and "mathomatic.png", which are the desktop and icon files for Linux. Minor code, documentation, and makefile improvements. Added "tests/quartic.in" and fixed incomplete simplification in the calculate command. Allow upper case when parsing infinity constant name "inf", required by CygWin version and maybe others. The makefiles no longer strip the created executables. Reordered source code so many functions can be defined returning "void" (which means no return value). Added "tests/how_limit_works.in" tutorial and restored "doc/notes.html". Testing change to only one kind of partial unfactoring (partial_flag = true/false, default true), completely distinct from full unfactoring. Used throughout, let me know if this breaks anything. Added "simplify fraction" option, which simplifies like Maxima's ratsimp().

Revision **1.72** / (**download**) - annotate - [select for diffs], *Fri Jun 15 13:40:35 2007 UTC* (12 years, 4 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2007Q2-base,
pkgsrc-2007Q2
**

Changes since **1.71: +4 -4
lines**

Diff to previous 1.71 (colored)

Update mathomatic to 12.7.2. Changes: - Added order parameter to extrema command, which specifies the number of derivatives to take. - Renamed flist command to "display".

Revision **1.71** / (**download**) - annotate - [select for diffs], *Wed May 23 02:31:03 2007 UTC* (12 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.70: +4 -4
lines**

Diff to previous 1.70 (colored)

Update mathomatic to 12.7.1. Changes: - Remove GPL preamble in "primes/*.c", so everything is LGPL. - Allow entering "e#" and "i#" as "e" and "i". Display "e", "i", and "pi" as "e#", "i#", and "pi#". - Require a space between command and command line, so variables don't get confused with commands. This is a bug fix. - Added a directory named "hard_stuff". - Fixed error in "tests/finance.in".

Revision **1.70** / (**download**) - annotate - [select for diffs], *Wed Apr 18 21:09:13 2007 UTC* (12 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.69: +5 -5
lines**

Diff to previous 1.69 (colored)

Update mathomatic to 12.6.12. 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".

Revision **1.69** / (**download**) - annotate - [select for diffs], *Tue Jan 2 16:56:20 2007 UTC* (12 years, 9 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2007Q1-base,
pkgsrc-2007Q1
**

Changes since **1.68: +4 -4
lines**

Diff to previous 1.68 (colored)

Update mathomatic to 12.6.8. Changes: - Add "set autocalc" option. - Fix limit command so it fails instead of giving wrong answers.

Revision **1.68** / (**download**) - annotate - [select for diffs], *Sun Nov 19 20:53:24 2006 UTC* (12 years, 11 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2006Q4-base,
pkgsrc-2006Q4
**

Changes since **1.67: +4 -4
lines**

Diff to previous 1.67 (colored)

Update mathomatic to 12.6.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.

Revision **1.67** / (**download**) - annotate - [select for diffs], *Wed Sep 13 00:39:03 2006 UTC* (13 years, 1 month ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2006Q3-base,
pkgsrc-2006Q3
**

Changes since **1.66: +4 -4
lines**

Diff to previous 1.66 (colored)

Update mathomatic to 12.6.3. 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.

Revision **1.66** / (**download**) - annotate - [select for diffs], *Tue Aug 15 15:38:25 2006 UTC* (13 years, 2 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.65: +5 -5
lines**

Diff to previous 1.65 (colored)

Update mathomatic to 12.6.1. 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.

Revision **1.65** / (**download**) - annotate - [select for diffs], *Tue Aug 8 18:15:20 2006 UTC* (13 years, 2 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.64: +4 -4
lines**

Diff to previous 1.64 (colored)

Update mathomatic to 12.5.19. 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.

Revision **1.64** / (**download**) - annotate - [select for diffs], *Thu Jul 27 18:25:48 2006 UTC* (13 years, 2 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.63: +4 -4
lines**

Diff to previous 1.63 (colored)

Update mathomatic to 12.5.18. Changes: Fixed some gcc compiler warnings. Code and documentation cleanup. Removed BASICS define. Removed all isascii() tests from the source code.

Revision **1.63** / (**download**) - annotate - [select for diffs], *Sun Jun 18 03:02:24 2006 UTC* (13 years, 4 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2006Q2-base,
pkgsrc-2006Q2
**

Changes since **1.62: +4 -4
lines**

Diff to previous 1.62 (colored)

Update mathomatic to 12.5.17. 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.

Revision **1.62** / (**download**) - annotate - [select for diffs], *Mon Jun 5 23:48:58 2006 UTC* (13 years, 4 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.61: +4 -4
lines**

Diff to previous 1.61 (colored)

Update mathomatic to 12.5.15. 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.

Revision **1.61** / (**download**) - annotate - [select for diffs], *Thu Jun 1 23:41:06 2006 UTC* (13 years, 4 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.60: +4 -4
lines**

Diff to previous 1.60 (colored)

Update mathomatic to 12.5.14. 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.

Revision **1.60** / (**download**) - annotate - [select for diffs], *Mon May 15 07:45:01 2006 UTC* (13 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.59: +4 -4
lines**

Diff to previous 1.59 (colored)

Update mathomatic to 12.5.13. 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.

Revision **1.59** / (**download**) - annotate - [select for diffs], *Sun Mar 26 18:45:07 2006 UTC* (13 years, 6 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2006Q1-base,
pkgsrc-2006Q1
**

Changes since **1.58: +4 -4
lines**

Diff to previous 1.58 (colored)

Update mathomatic to 12.5.12. 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.

Revision **1.58** / (**download**) - annotate - [select for diffs], *Sat Mar 11 00:14:51 2006 UTC* (13 years, 7 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.57: +4 -4
lines**

Diff to previous 1.57 (colored)

Update mathomatic to 12.5.11. 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.

Revision **1.57** / (**download**) - annotate - [select for diffs], *Thu Mar 2 00:34:39 2006 UTC* (13 years, 7 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.56: +4 -4
lines**

Diff to previous 1.56 (colored)

Update mathomatic to 12.5.10. 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.

Revision **1.56** / (**download**) - annotate - [select for diffs], *Mon Feb 13 23:21:25 2006 UTC* (13 years, 8 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.55: +4 -4
lines**

Diff to previous 1.55 (colored)

Update mathomatic to 12.5.8. 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.

Revision **1.55** / (**download**) - annotate - [select for diffs], *Wed Jan 25 20:42:26 2006 UTC* (13 years, 8 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.54: +4 -4
lines**

Diff to previous 1.54 (colored)

Update mathomatic to 12.5.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.

Revision **1.54** / (**download**) - annotate - [select for diffs], *Sat Jan 21 23:25:02 2006 UTC* (13 years, 8 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.53: +4 -4
lines**

Diff to previous 1.53 (colored)

Update mathomatic to 12.5.5. 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.

Revision **1.53** / (**download**) - annotate - [select for diffs], *Sat Jan 14 18:55:32 2006 UTC* (13 years, 9 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.52: +4 -4
lines**

Diff to previous 1.52 (colored)

Update mathomatic to 12.5.4. 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#))".

Revision **1.52** / (**download**) - annotate - [select for diffs], *Sun Jan 8 12:58:55 2006 UTC* (13 years, 9 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.51: +4 -4
lines**

Diff to previous 1.51 (colored)

Update mathomatic to 12.5.3. 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.

Revision **1.51** / (**download**) - annotate - [select for diffs], *Wed Nov 23 05:26:10 2005 UTC* (13 years, 10 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2005Q4-base,
pkgsrc-2005Q4
**

Changes since **1.50: +4 -4
lines**

Diff to previous 1.50 (colored)

Update mathomatic to 12.5.2. Changes: - Fixed sum and product command docs and code. - Added [hyper]trig functions. - Documentation updates.

Revision **1.50** / (**download**) - annotate - [select for diffs], *Fri Nov 11 16:30:53 2005 UTC* (13 years, 11 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.49: +4 -4
lines**

Diff to previous 1.49 (colored)

Update mathomatic to 12.5.1. 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.

Revision **1.49** / (**download**) - annotate - [select for diffs], *Sat Oct 29 01:45:35 2005 UTC* (13 years, 11 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.48: +5 -5
lines**

Diff to previous 1.48 (colored)

Update mathomatic to 12.5.0. 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".

Revision **1.48** / (**download**) - annotate - [select for diffs], *Tue Oct 11 01:10:31 2005 UTC* (14 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.47: +4 -4
lines**

Diff to previous 1.47 (colored)

Update mathomatic to 12.4.12. 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.

Revision **1.47** / (**download**) - annotate - [select for diffs], *Mon Sep 26 22:07:44 2005 UTC* (14 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.46: +4 -4
lines**

Diff to previous 1.46 (colored)

Update mathomatic to 12.4.11. 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.

Revision **1.46** / (**download**) - annotate - [select for diffs], *Sat Sep 10 18:15:03 2005 UTC* (14 years, 1 month ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2005Q3-base,
pkgsrc-2005Q3
**

Changes since **1.45: +2 -2
lines**

Diff to previous 1.45 (colored)

Do not link against the curses library, which is not used by this package.

Revision **1.45** / (**download**) - annotate - [select for diffs], *Mon Sep 5 14:44:15 2005 UTC* (14 years, 1 month ago) by *minskim*

Branch: **MAIN
**

Changes since **1.44: +5 -5
lines**

Diff to previous 1.44 (colored)

Update mathomatic to 12.4.10. 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.

Revision **1.44** / (**download**) - annotate - [select for diffs], *Sat Aug 27 19:13:04 2005 UTC* (14 years, 1 month ago) by *minskim*

Branch: **MAIN
**

Changes since **1.43: +4 -4
lines**

Diff to previous 1.43 (colored)

Update mathomatic to 12.4.9. Changes: - Added display of average to tally command. - Fixed tests. - Fixed output redirection for some commands.

Revision **1.43** / (**download**) - annotate - [select for diffs], *Sat Aug 27 18:58:51 2005 UTC* (14 years, 1 month ago) by *minskim*

Branch: **MAIN
**

Changes since **1.42: +5 -5
lines**

Diff to previous 1.42 (colored)

Update mathomatic to 12.4.7. 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.

Revision **1.42** / (**download**) - annotate - [select for diffs], *Sat Jul 30 15:38:26 2005 UTC* (14 years, 2 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.41: +4 -4
lines**

Diff to previous 1.41 (colored)

Update mathomatic to 12.4.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.

Revision **1.41** / (**download**) - annotate - [select for diffs], *Tue Jul 19 17:46:40 2005 UTC* (14 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.40: +4 -4
lines**

Diff to previous 1.40 (colored)

Update mathomatic to 12.4.5. 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().

Revision **1.40** / (**download**) - annotate - [select for diffs], *Wed Jul 6 13:34:08 2005 UTC* (14 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.39: +4 -4
lines**

Diff to previous 1.39 (colored)

Update mathomatic to 12.4.4. 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.

Revision **1.39** / (**download**) - annotate - [select for diffs], *Thu Jun 23 15:20:00 2005 UTC* (14 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.38: +4 -4
lines**

Diff to previous 1.38 (colored)

Update mathomatic to 12.4.3. 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".

Revision **1.38** / (**download**) - annotate - [select for diffs], *Tue Jun 14 18:01:04 2005 UTC* (14 years, 4 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2005Q2-base,
pkgsrc-2005Q2
**

Changes since **1.37: +4 -4
lines**

Diff to previous 1.37 (colored)

Update mathomatic to 12.4.2. Bug fixes and minor improvements.

Revision **1.37** / (**download**) - annotate - [select for diffs], *Sun Jun 5 04:55:43 2005 UTC* (14 years, 4 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.36: +4 -4
lines**

Diff to previous 1.36 (colored)

Update mathomatic to 12.4.0. 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.

Revision **1.36** / (**download**) - annotate - [select for diffs], *Thu May 26 13:08:07 2005 UTC* (14 years, 4 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.35: +4 -4
lines**

Diff to previous 1.35 (colored)

Update mathomatic to 12.3.3. 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.

Revision **1.35** / (**download**) - annotate - [select for diffs], *Sun May 15 14:32:29 2005 UTC* (14 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.34: +4 -4
lines**

Diff to previous 1.34 (colored)

Update mathomatic to 12.3.2. Code cleanup and documentation improvements.

Revision **1.34** / (**download**) - annotate - [select for diffs], *Fri Apr 29 13:05:28 2005 UTC* (14 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.33: +5 -5
lines**

Diff to previous 1.33 (colored)

Update mathomatic to 12.3. Bug fixes and many enhancements. See changes.txt for the complete list of changes.

Revision **1.33** / (**download**) - annotate - [select for diffs], *Mon Apr 11 03:45:43 2005 UTC* (14 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.32: +4 -4
lines**

Diff to previous 1.32 (colored)

Update mathomatic to 12.2c. 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.

Revision **1.32** / (**download**) - annotate - [select for diffs], *Mon Mar 28 14:52:28 2005 UTC* (14 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.31: +5 -5
lines**

Diff to previous 1.31 (colored)

Update mathomatic to 12.2b. Changes since 12.1d: - Various improvements and bug fixes. - Documentation with full command reference.

Revision **1.31** / (**download**) - annotate - [select for diffs], *Sat Mar 5 03:01:50 2005 UTC* (14 years, 7 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2005Q1-base,
pkgsrc-2005Q1
**

Changes since **1.30: +5 -5
lines**

Diff to previous 1.30 (colored)

Update mathomatic to 12.1d. 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().

Revision **1.30** / (**download**) - annotate - [select for diffs], *Wed Feb 23 12:06:56 2005 UTC* (14 years, 7 months ago) by *agc*

Branch: **MAIN
**

Changes since **1.29: +2 -1
lines**

Diff to previous 1.29 (colored)

Add RMD160 digests in addition to SHA1 ones.

Revision **1.29** / (**download**) - annotate - [select for diffs], *Sat Jan 29 10:53:17 2005 UTC* (14 years, 8 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.28: +3 -3
lines**

Diff to previous 1.28 (colored)

Update mathomatic to 11.7. Changes: Another minor adjustment to simplify command to make everything work just right. Trap "derivative x" of (negative constant or zero)^x. Solve "(constant)^y=constant" for y. Moved all html files and the man page to subdirectory "doc". Code cleanup. Improved modulus solving. Trap "x%0". Simplify "x%inf". Fix fraction list display of -0. Change for better simplification. Fix for division by roots of fractions.

Revision **1.28** / (**download**) - annotate - [select for diffs], *Fri Jan 14 14:52:44 2005 UTC* (14 years, 9 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.27: +3 -3
lines**

Diff to previous 1.27 (colored)

Update mathomatic to 11.6d. Changes: Some more improvement to simplification. Displayed floating point precision reduced to 12 digits. Allow typing just "e#" or "pi" on the command line, to give the values for each. Changed simplify command to prefer (1/constant)^n instead of 1/(constant^n). It produces more efficient code and solves a problem. Improved "code integer" command by allowing integer powers. Improved eliminate command by trying next equation if solve fails. "list export" now produces 100% Maxima compatible equations. Changed "SILENT" compile time define to also remove all debugging code.

Revision **1.27** / (**download**) - annotate - [select for diffs], *Sat Jan 8 07:09:50 2005 UTC* (14 years, 9 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.26: +3 -3
lines**

Diff to previous 1.26 (colored)

Update mathomatic to 11.6c. Changes: - Some more touch-ups to solve routine. - Changed uf_repeat() to skip expanding if the expression would be too big. This allows Mathomatic to work with huge exponents. - Turned on "preserve_roots" option by default. - Improved sum and product commands. Allow counting down. - Improved solve routine and removed display of useless messages. - Added a fix to the limit command. - Moved "source.txt" into "README.txt". - Added code to simplify (inf+a) to (inf) generally. - Fixed minor bug in calculate command. - Minor fixes to elim_k(). - Improved limit command. - Made all recursive functions in the source code static. Most functions never used globally defined as static. - Improvement in command argument parsing. - Added extrema command. - Improved output of roots command. - Fixed minor bug caused by "preserve_roots" option. - Made file "am.htm" valid HTML. - Simplification improved.

Revision **1.26** / (**download**) - annotate - [select for diffs], *Sun Dec 26 06:19:11 2004 UTC* (14 years, 9 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.25: +3 -3
lines**

Diff to previous 1.25 (colored)

Update mathomatic 11.6. Changes: - Many minor improvements made, none of which are worth mentioning by themselves. - Fixed all message strings with a variable listed in them. - Added iteration option to calculate command. - Trimmed set command of fat. Unnecessary messages removed. - Removed all occurrences of "usage_flag". - Usage info is now displayed everytime a command returns with error. - Allow parsing of hexadecimal constants. Preceed hex numbers with "0x". - There may be parsing bugs. Systems using older versions of the GNU libraries (specifically strtod(3)) will not allow hexadecimal input. - Added limit command. - Trapped 0^(negative number). It previously produced junk. - Allow solve routine to produce infinity as an answer. - Some commenting and fixing done to solve routine.

Revision **1.25** / (**download**) - annotate - [select for diffs], *Wed Dec 1 04:06:03 2004 UTC* (14 years, 10 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2004Q4-base,
pkgsrc-2004Q4
**

Changes since **1.24: +3 -3
lines**

Diff to previous 1.24 (colored)

Update mathomatic to 11.5c. Changes: - Added loading of $HOME/.mathomaticrc on startup. Set options go there. - Added undocumented switch "-t" which sets test mode. Only used with "make test". - Wrote and added "matho-pascal" program to primes directory. - Allow "=" in set command. - Improved uf_repeat() and modulus simplification.

Revision **1.24** / (**download**) - annotate - [select for diffs], *Wed Nov 24 14:52:28 2004 UTC* (14 years, 10 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.23: +3 -3
lines**

Diff to previous 1.23 (colored)

Update mathomatic to 11.5b. Changes: - Made HTML mode ("mathomatic -h") not use readline. - Added "set true_modulus" option. - Improved output of roots command. - Code cleanup.

Revision **1.23** / (**download**) - annotate - [select for diffs], *Wed Nov 10 16:47:20 2004 UTC* (14 years, 11 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.22: +3 -3
lines**

Diff to previous 1.22 (colored)

Update mathomatic to 11.5. Changes: - Using "memmove()" instead of deprecated "bcopy()". - Added "tests/tutor.in", which is an incomplete Mathomatic tutor. - Many improvements to scripts in the tests directory. - Removed "calculate factor" option. - Code cleanup. - Added more modulus simplification. - Simplify ((a%n)*integer+b)%n to (a*integer+b)%n generally and completely. - real^complex and complex^complex are now approximated.

Revision **1.22** / (**download**) - annotate - [select for diffs], *Sat Oct 30 15:07:01 2004 UTC* (14 years, 11 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.21: +3 -3
lines**

Diff to previous 1.21 (colored)

Update mathomatic to 11.4d. Changes: - Removed obsolete short variable name code and bumped up "MAX_VARS" to 500. - Fixed problem with conflicting names and code for "cpow()" and "cexp()". Renamed to "complex_pow()" and "complex_exp()".

Revision **1.21** / (**download**) - annotate - [select for diffs], *Wed Oct 20 02:07:56 2004 UTC* (15 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.20: +3 -3
lines**

Diff to previous 1.20 (colored)

Update mathomatic to 11.4c. Changes: - Code cleanup. Polynomial division routine is now very easy to use. - Renamed "WINDOWS" define to "CYGWIN". - Added "set preserve_roots" option. - Added modulus solving.

Revision **1.20** / (**download**) - annotate - [select for diffs], *Thu Oct 14 13:43:26 2004 UTC* (15 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.19: +4 -4
lines**

Diff to previous 1.19 (colored)

Update mathomatic to 11.4b. Changes: - Added "code integer" command, which outputs working C code with integer variables. - Changed makefile to use libncurses instead of libcurses. - Added more simplification rules for modulus.

Revision **1.19** / (**download**) - annotate - [select for diffs], *Mon Oct 4 21:32:29 2004 UTC* (15 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.18: +3 -3
lines**

Diff to previous 1.18 (colored)

Update mathomatic to 11.4. Changes: Changed sum and product commands to not create another equation if the result is a constant. If the result is a constant, it is just displayed. Mathomatic now approximates -1^(2^.5) and the like. Added modulus (%) operator. Added simplification of univariate modulus expressions. Changed univariate modulus simplification to multivariate, integer only simplification.

Revision **1.18** / (**download**) - annotate - [select for diffs], *Sat Sep 25 00:40:53 2004 UTC* (15 years ago) by *minskim*

Branch: **MAIN
**

Changes since **1.17: +4 -4
lines**

Diff to previous 1.17 (colored)

Update mathomatic to 11.3f. 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.

Revision **1.17** / (**download**) - annotate - [select for diffs], *Wed Aug 4 19:59:59 2004 UTC* (15 years, 2 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2004Q3-base,
pkgsrc-2004Q3
**

Changes since **1.16: +4 -4
lines**

Diff to previous 1.16 (colored)

Update mathomatic to 11.3c. 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.

Revision **1.16** / (**download**) - annotate - [select for diffs], *Mon Jul 26 17:37:02 2004 UTC* (15 years, 2 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.15: +3 -3
lines**

Diff to previous 1.15 (colored)

Update mathomatic to 11.3b. 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.

Revision **1.15** / (**download**) - annotate - [select for diffs], *Tue Jul 13 21:12:23 2004 UTC* (15 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.14: +3 -3
lines**

Diff to previous 1.14 (colored)

Update mathomatic to 11.3. 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.

Revision **1.14** / (**download**) - annotate - [select for diffs], *Sun Jul 4 16:38:47 2004 UTC* (15 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.13: +3 -3
lines**

Diff to previous 1.13 (colored)

Update mathomatic to 11.2e. 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.

Revision **1.13** / (**download**) - annotate - [select for diffs], *Mon Jun 28 13:58:25 2004 UTC* (15 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.12: +4 -4
lines**

Diff to previous 1.12 (colored)

Update mathomatic to 11.2d. 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.

Revision **1.12** / (**download**) - annotate - [select for diffs], *Sat Jun 26 21:23:43 2004 UTC* (15 years, 3 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.11: +3 -3
lines**

Diff to previous 1.11 (colored)

Update mathomatic to 11.2c. 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.

Revision **1.11** / (**download**) - annotate - [select for diffs], *Fri Jun 4 03:38:29 2004 UTC* (15 years, 4 months ago) by *minskim*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2004Q2-base,
pkgsrc-2004Q2
**

Changes since **1.10: +4 -4
lines**

Diff to previous 1.10 (colored)

Update mathomatic to 11.2. 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.

Revision **1.10** / (**download**) - annotate - [select for diffs], *Thu May 20 21:27:25 2004 UTC* (15 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.9: +3 -3
lines**

Diff to previous 1.9 (colored)

Update mathomatic to 11.1c. Changes: Perfected factoring of constants in final stage of simplify command.

Revision **1.9** / (**download**) - annotate - [select for diffs], *Fri May 14 15:01:31 2004 UTC* (15 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.8: +3 -3
lines**

Diff to previous 1.8 (colored)

Update mathomatic to 11.1b. 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.

Revision **1.8** / (**download**) - annotate - [select for diffs], *Mon May 10 16:47:15 2004 UTC* (15 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.7: +4 -4
lines**

Diff to previous 1.7 (colored)

Update mathomatic to 11.1. 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).

Revision **1.7** / (**download**) - annotate - [select for diffs], *Tue May 4 17:20:49 2004 UTC* (15 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.6: +4 -4
lines**

Diff to previous 1.6 (colored)

Update mathomatic to 11.0f. 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.

Revision **1.6** / (**download**) - annotate - [select for diffs], *Wed Apr 28 04:28:57 2004 UTC* (15 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.5: +3 -3
lines**

Diff to previous 1.5 (colored)

Update mathomatic to 11.0e. 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".

Revision **1.5** / (**download**) - annotate - [select for diffs], *Sat Apr 24 15:44:19 2004 UTC* (15 years, 5 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.4: +3 -3
lines**

Diff to previous 1.4 (colored)

Update mathomatic to 11.0d. 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.

Revision **1.4** / (**download**) - annotate - [select for diffs], *Wed Apr 21 21:26:26 2004 UTC* (15 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.3: +3 -3
lines**

Diff to previous 1.3 (colored)

Update mathomatic to 11.0c. Changes: - Fixed HTML mode "screen_rows" and "screen_columns" to be unlimited. - Allow square brackets ([]) as parentheses and optimized parser. - Simplification was improved.

Revision **1.3** / (**download**) - annotate - [select for diffs], *Tue Apr 20 17:18:50 2004 UTC* (15 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.2: +3 -3
lines**

Diff to previous 1.2 (colored)

Bump PKGREVISION due to distfile changes (this package has DIST_SUBDIR=${PKGNAME}). The author made functional changes without bumping the version number. :( This closes PR pkg/25258.

Revision **1.2** / (**download**) - annotate - [select for diffs], *Sat Apr 17 17:08:37 2004 UTC* (15 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Changes since **1.1: +4 -4
lines**

Diff to previous 1.1 (colored)

Update mathomatic to 11.0b. 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.

Revision **1.1.1.1** / (**download**) - annotate - [select for diffs] *(vendor branch)*, *Wed Mar 31 18:14:08 2004 UTC* (15 years, 6 months ago) by *minskim*

Branch: **TNF
**

CVS Tags: **pkgsrc-base
**

Changes since **1.1: +0 -0
lines**

Diff to previous 1.1 (colored)

Import mathomatic-10.9b from pkgsrc-wip. 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.

Revision **1.1** / (**download**) - annotate - [select for diffs], *Wed Mar 31 18:14:08 2004 UTC* (15 years, 6 months ago) by *minskim*

Branch: **MAIN
**

Initial revision

CVSweb <webmaster@jp.NetBSD.org>