./math/mathomatic, Small portable symbolic math program

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 16.0.4nb1, Package name: mathomatic-16.0.4nb1, Maintainer: minskim

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.
- 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.

Required to run:
[sysutils/desktop-file-utils] [devel/readline]

Required to build:

Master sites:

SHA1: cf6d89f3f454c27a946786587a7dc3b47a79ae3f
RMD160: c3f367bba20c30828ef7408dc84d3dc38c11df89
Filesize: 281.305 KB

Version history: (Expand)

CVS history: (Expand)

   2018-01-01 19:16:39 by Roland Illig | Files touched by this commit (47)
Log message:
Replaced $(ROUND) with ${CURLY} variable references.

This has been a pkglint warning for several years now, and pkglint can even
fix it automatically. And it did for this commit.

Only in lang/mercury, two passes of autofixing were necessary because there
were nested variables.
   2015-11-04 00:33:46 by Alistair G. Crooks | Files touched by this commit (262)
Log message:
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-
	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.
   2015-08-18 09:31:20 by Thomas Klausner | Files touched by this commit (282)
Log message:
Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
   2012-09-13 11:13:09 by Aleksej Saushev | Files touched by this commit (2)
Log message:

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:

           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

Mathomatic version 16.0.4 released Monday 09/10/12.


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 \ 
           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.
   2012-09-12 01:04:36 by Aleksej Saushev | Files touched by this commit (180)
Log message:
"user-destdir" is default these days
   2012-08-13 17:20:19 by Aleksej Saushev | Files touched by this commit (3) | Package updated
Log message:
Update to Mathomatic 16.0.2


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.


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

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.
   2012-07-01 21:05:29 by David A. Holland | Files touched by this commit (118) | Package updated
Log message:
Add desktopdb.mk and bump PKGREVISION for 118 packages as reported by
pkglint. If any of these are wrong for some reason, please revert/adjust.