summaryrefslogtreecommitdiff
path: root/math
AgeCommit message (Collapse)AuthorFilesLines
2011-07-28Match version with math/fftw.adam2-8/+8
2011-07-28Changes 3.3:adam3-8/+8
* Compiling OpenMP support (--enable-openmp) now installs a fftw3_omp library, instead of fftw3_threads, so that OpenMP and POSIX threads (--enable-threads) libraries can be built and installed at the same time. * Various minor compilation fixes, corrections of manual typos, and improvements to the benchmark test program. * Add support for the AVX extensions to x86 and x86-64. The AVX code works with 16-byte alignment (as opposed to 32-byte alignment), so there is no ABI change compared to FFTW 3.2.2. * Added Fortran 2003 interface, which should be usable on most modern Fortran compilers (e.g. gfortran) and provides type-checked access to the the C FFTW interface. (The legacy Fortran-77 interface is still included also.) * Added MPI distributed-memory transforms. Compared to 3.3alpha, the major changes in the MPI transforms are: * Fixed some deadlock and crashing bugs. * Added Fortran 2003 interface. * Added new-array execute functions for MPI plans. * Eliminated use of large MPI tags, since Cray MPI requires tags < 224. * Expanded documentation. * make check now runs MPI tests * Some ABI changes — not binary-compatible with 3.3alpha MPI. * Add support for quad-precision __float128 in gcc 4.6 or later (on x86. x86-64, and Itanium). The new routines use the fftwq_ prefix. * Temporarily removed MIPS paired-single support due to lack of available hardware for testing. We hope to add it back before the final FFTW 3.3 release; meanwhile, users who want this functionality should continue using FFTW 3.2.x. * Removed support for the Cell Broadband Engine. Cell users should use FFTW 3.2.x. * New convenience functions fftw_alloc_real and fftw_alloc_complex to use fftw_malloc for real and complex arrays without typecasts or sizeof.
2011-07-21recursive bump from gnome-vfs drop crypto dependency.obache3-5/+6
2011-07-20Updated ruby-spreadsheet to 0.6.5.7.obache2-6/+6
=== 0.6.5.7 / 20.7.2011 * Fixed the bug introduced by Roel van der Hoorn and updated the test cases. * https://github.com/vanderhoorn/spreadsheet/commit/c79ab14dcf40dee1d6d5ad2b174f3fe31414ca28
2011-07-20Update ruby-spreadsheet to 0.6.5.6.obache2-6/+6
=== 0.6.5.6 / 20.7.2011 * Added a fix from R. van der Hoorn to sanitize_worksheets if 'sheets' is empty. * https://github.com/vanderhoorn/spreadsheet/commit/c109f2ac5486f9a38a6d93267daf560ab4b9473e
2011-07-14in the awk code to extract the version number from a header, avoiddrochner1-3/+3
the non-standard "gensub" function, from Alexander Nasonov per PM
2011-07-12update to 1.10.16drochner3-8/+21
changes: -ODF import/export improvements -Switch to using goffice's complex math -more fixes and improvements
2011-07-11Update ruby-spreadsheet to 0.6.5.5.obache2-6/+6
=== 0.6.5.5 / 24.6.2011 * updated the color code for orange to 0x0034 => :orange, thanks to the hint of Jonty * https://gist.github.com/1044700
2011-07-08Update to FriCAS 1.1.3asau3-14/+47
Changes: - Added "jet bundle" framework by Werner Seiler and Joachim Schue, which includes completion procedure and symmetry analysis for PDE. - Better splitting of group representations (added Holt-Rees improvement to meatAxe). - Added numeric versions of some elliptic integrals and few more elliptic functions. - Speeded up FFCGP (finite fields via Zech logarithms). - New experimental flag (off by default, set via setSimplifyDenomsFlag) which if on causes removal of irrationalities from denominators. Usually it causes slowdown, but on some examples gives huge speedup. It may go away in future (when no longer needed). - Added experimental framework for theory of computations. Bug fixes, in particular: - Numerical solutions of polynomial systems have now required accuracy (SF 2418832). - Fixed problem with crashes during tracing. - Fixed a problem with nested iteration (SF 3016806). - Eliminated stack overflow when concatenating long lists.
2011-07-08allow to use gmp/mpfr/mpc which comes with the system (eg ondrochner2-0/+26
NetBSD-current with gcc45)
2011-06-29Add missing LICENSE.alnsn1-1/+2
From README: RPy2 is subject to the Mozilla Public License Version 1.1 (the "License"); you may not use RPy2 except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ (or see the file MPL_LICENSE) Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is the RPy2 python package, itself subdivived into subpackages and modules. All code is Copyright of the respective author(s). See the file AUTHORS for further details regarding authorship. Alternatively, RPy2 may be used under the terms of either the GNU General Public License Version 2 or later (the "GPL", see the file GPL_LICENSE), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL", see the file LGPL_LICENSE), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL.
2011-06-22Update FriCAS to 1.1.2asau3-26/+19
Changes: - Experimental Texmacs interface and Texmacs format output. - Guessing package can now guess algebraic dependencies. - Expansion into Taylor series and limits now work for most special functions. - Spad to Aldor translator is removed. - Spad compiler no longer allows to denote sets using braces. Bug fixes, in particular: - Fixed few cases where elementary integrals were returned unevaluated or produced wrong results. - Unwanted numerical evaluation should be no longer a problem (FriCAS interpreter now very strongly prefers symbolic evaluation over numerical evaluation). - Fixed a truncation bug in guessing package which causes loss of some correct solutions. - TeX and MathML format should correctly put parentheses around and inside sums and products. - Fixes few problems with handling of Unicode.
2011-06-19Update ruby-spreadsheet package to 0.6.5.4.taca2-7/+6
=== 0.6.5.4 / 18.4.2011 * Updated worksheet.rb according to the Patch of Bjrn Andersson. * https://gist.github.com/925007#file_test.patch * http://url.ba/09p9
2011-06-19CHECK_INTERPRETER_SKIPdholland1-1/+4
2011-06-14Add R-XML and R-bitops.alnsn1-1/+3
2011-06-14Add XML R module, version 3.4-0.alnsn4-0/+37
2011-06-14Add bitops R module, version 1.0-4.1.alnsn4-0/+34
2011-06-09update to 1.3.3drochner9-95/+27
changes: -UI improvements -bugfixes
2011-06-09sortjnemeth1-2/+2
2011-05-28DESCR_SRC now contains full paths to DESCR filescheusov2-4/+4
2011-05-28add heirloom packages, oked by sponsorscheusov1-1/+3
2011-05-28heirloom partcheusov3-0/+19
2011-05-28heirloom partcheusov3-0/+18
2011-05-25update to 1.10.15drochner3-9/+12
changes: -Import / export improvements -Minor histogram improvements -Add GSettings schemas -bugfixes
2011-05-18update to 1.3.2drochner2-6/+6
This release fixes a bug on x86 when the scale factor of scale_float(cl_LF, cl_I) exceeded 2^31. In addition, it improves portability to non-GCC compilers.
2011-05-10Update math/R-CGIwithR to version 0.73-0.alnsn3-6/+17
Approved by wiz@. Version 0.73-0 * Identify the contents of file uploads with a class "FileUploadContent" * Don't collapse duplicate parameter values that correspond to file uploads in MultiPartFormData objects. * $ operator for MultiPartFormData extended to handle the case of multiple elements for the same parameter, specifically file uploads. * Added parameters to some functions to allow caller to specify content of the submitted form that is usually provide via environment variables or standard in. This facilitates debugging. Version 0.72-2 * Deal with repeated parameters.
2011-05-10Reset PKGREVISION.taca1-2/+1
2011-05-10Update ruby-rb-gsl package to 1.14.7.taca4-7/+57
* pkgsrc change: fix conflicts of some functions name with newer gsl. Sat Feb 26 08:18:45 PST 2011 * Ruby/GSL 1.14.7 * Fix conversion of non-DFLOAT NArray to GSL::Vector and GSL::Vector::Complex. Thu Feb 24 10:27:08 PST 2011 * Ruby/GSL 1.14.6 * Add Vector::Complex support to NArray conversions * Raise exception when trying to create View from NArray object of incompatible type.
2011-05-09Update Maxima to version 5.24.0asau3-10/+18
Maxima 5.24 change log New items in core: * function defstruct: documentation New items in share: * package lapack: function dgemm (matrix multiplication) * package fractals: documentation * package finance: documentation Other changes: * elliptic functions: bug fixes * integration: apply trigonometric identities for some special cases * improve TeX output for conditional expressions * more work on German translation of reference manual * regularize error messages and prepare for translation * remove unused functions and variables * XMaxima user interface: bug fixes and improvements * package draw: bug fixes, pngcairo output * package noninteractive: bug fixes * package clebsch_gordan: new version * package graphs: updates * package ezunits: updates Bug fixes: 3211937 wrong sign for integral of e^(-1/x^2) 3199708 integrate(sin(2x)atan(sin(x)),x) 3198530 Apparently wrong limit with factorial 3181353 Documentation of "at" misleading 3165872 integrate(abs(sin(x)),x,0,2*%pi) wrong result 3158526 integrate(x^2*exp(x)/(1+exp(x))^2,x , minf, inf); 3154534 need local declaration in antid.mac 3154351 abs_integrate --> errors from apply 3153533 incorrect integration 3153506 typo in antid / FIX 3153170 abs_integrate + composisiton of unit step 3153169 abs_integrate of unit step 3138054 bfloat problem / FIX 3133916 scanmap(minfactorial,a!) infinite loop 3131324 simplification of sqrt 3067098 The command timer for a Lisp function 2808179 maxima.el inferior-maxima-complete on Emacs 23 1285104 trigsimp and trigreduce & square roots 917283 Comment syntax confused unnumbered: lisp (gcl?) being unable to read 1.79769d308 unnumbered: draw2d(explicit(321.4567,x,0,1)) causing hang unnumbered: plotting functions by name unnumbered: asinh and atanh are increasing odd functions unnumbered: bad interaction of rassociative and tellsimp Maxima 5.23 change log Backwards-incompatible changes: * package draw: changed names of some options: file_bgcolor --> background_color pic_width, pic_height, eps_width, eps_height, pdf_width, pdf_height --> dimensions rot_horizontal, rot_vertical --> view New items in core: * function bf_find_root: bigfloat version of find_root * function find_root: recognize keyword arguments New items in share: * package cobyla: import Fortran COBYLA (constrained optimization) * package draw: new graphic objects 'errors' and 'region' Other revisions: * further work on exponential integrals * further work on abs and signum identities * further work on special cases in integration * translation of reference manual to German (ongoing) * clean-up in code related to processing files * general code clean-up * package ezunits: additional built-in conversions Bug fixes: 3114834 maxima-help does not find help topics 3111568 subsequent calls to gradef hide variable dependencies 3102421 noninteractive-mode and kill(all) 3101075 limit bug 3093408 Bug in simplify_sum 3085498 integration error (partial solution) 3081820 lbfgs causes error 3080397 laplace(unit_step(-t),t,s) generates an error 3079975 rectform(atan2(y,0)) -> division by zero 3073827 integrate(t*cos(a*t^2 + b*t + c), t, 0, 1) => division by 0 3072490 contrib diag.mac variable scope 3071208 rtest15--limit to inf from above 3067311 eivects doesn't load eigen automatically 3064709 domain error for tan 3062883 diff does not recognize indirect dependencies in expressions 3060669 filename_merge with more than two arguments 3060166 und documentation is incorrect 3058324 $save must bind *print-circle* to NIL 3058290 tan(%pi*integer) simplification 3055427 conjugate solver 3045559 integrate(exp(-u^2), u, minf, x) => incorrect gamma_incomple 3041267 jacobi_cs(x,1) returns a wrong expression 3041196 carg(exp(x+%i*y)) -> y not correct 3040667 logarc(acosh(z)) needlessly complicated 3039452 integrate(sqrt(t^c)/(t*(b*t^c+a)),t) hangs 3038883 In general exp(z)^a --> exp(z*a) not correct 3034415 integrate(1/abs(x),x) using abs_integrate 3024924 list_matrix_entries 3020589 xlabel and ylabel don't change plot3d axis labels 3020243 defint(exp(cos(x))*cos(sin(x)),x,0,2*%pi) wrong result 0 2997443 ic2 fails 2970792 gradef(s) together with vect package 2881021 ic2 and bc2 may return incorrect results (solution suggeste) 2796194 error doing a Fourier transform. 2727846 tan(%pi/2) is not correct (or just not nice?) 2555641 no doc for subnumsimp 2541376 antidiff bug 2171237 load(basic) warnings 2123651 min and max of imaginary and real numbers 1993208 cartesian_product incorrect on empyt argument list 1990099 wrong integer_partitions(0) 1892341 taylor message about something assumed to be 0 in integral 1890128 no user doc for cauchy_matrix 1839088 ic2 fails with division by 0 1789213 ic1 for solution containing indefinite integral 1439559 function burn is broken 1213621 reveal with matrix argument 1149719 ratvarswitch not documented 1045920 a>1 and b>1, is a+b>2? 875089 defint(f(x)=g(x),x,0,1) -> false = false 767338 Evaluation of array names 703789 save() doesn't return a pathname (unnumbered) integrate(cos(2*x)*cos(x),x) is wrong.
2011-05-09Update MCSim to version 5.4.0asau10-488/+110
Changes are unknown, changelog is unavailable.
2011-05-09include bsd.prefs.mk before consulting MACHINE_ARCH so it picks up manually ↵dbj1-4/+6
set ABI
2011-05-08Update MPFR to version 3.0.1 patch level 3.asau2-3/+17
Patch 3 fixes the following bug: The mpfr_atan function calls mpfr_check_range on the unrounded result (no longer allocated) instead of the rounded result. Consequence of this bug: possible incorrect or invalid result and/or incorrect flags if the unrounded result or rounded result is not in the current exponent range. Or possibly worse if the memory used by the unrounded result is modified before the return of the function. This bug has been present since MPFR 2.1.0 (exceptions were not supported before). Patch 2 fixes the following bug: The mpfr_rec_sqrt function can have undefined behavior due to the call of mpn_add_1 or mpn_sub_1 (from GMP) with a null size, which is not allowed. The fourth argument of mpn_add_1 or mpn_sub_1 (i.e. the value that should have been added or subtracted) is here also 0, so that the consequences are limited. In practice, with the current GMP version, this yields a small buffer overflow (1 limb, i.e. 32 bits or 64 bits), as shown by valgrind, with the possible consequences: a crash, or memory corruption (very unlikely) if another process or thread modifies the limb at the same time (as in this context, the value is first read then written back by GMP). This bug has always been present since the introduction of the mpfr_rec_sqrt function in MPFR 2.4.0. Patch 1 fixes the following bug: If the exponent range has been reduced such that emax = 1 or 2, mpfr_asin may give an incorrect result on +1 and -1. which should probably never occur in practical codes.
2011-05-08Update GSL to version 1.15asau4-15/+16
New in gsl-1.15: ** Added Tuomo Keskitalo's new ode branch ode-initval2 with a gsl_odeiv2 prefix. This provides proper support for implicit solvers. It is intended to be the new default for differential equations. The existing gsl_odeiv routines will be retained for binary compatibility but their interface will be deprecated. ** Added new gsl_integrate_cquad routines for robust integration of difficult functions using the doubly-adaptive CQUAD algorithm (Pedro Gonnet). ** Added error checking to CBLAS functions (Jose Luis Garcia Pallero) ** Added a new function gsl_integration_glfixed_point to return ordered Gauss-Legendre points and weights contained within a gsl_integration_glfixed_table [bug #32237]. ** Added a new function gsl_interp_type_min_size to return the size of an interpolation type. ** Added a function gsl_pow_uint(x,n) to compute x^n for unsigned exponents (needed when n exceeds the range of signed integers). ** Added new routine gsl_linalg_complex_cholesky_invert to handle the matrix inversion for complex Cholesky decompositions (Huan Wu). ** Added the functions gsl_vector_equal(x,y) and gsl_matrix_equal(x,y) for testing equality of two vectors or matrices. ** Added function gsl_eigen_nonsymmv_params to control the balancing transformation for eigenvector calculations. Balancing is now turned off by default for gsl_eigen_nonsymmv. ** It is now possible to choose an alternative cblas library via pkg-config using the GSL_CBLAS_LIB environment variable or the pkg-config --define-variable option. ** The jacobi method gsl_eigen_jacobi now uses the norm of the off-diagonal elements for its convergence criterion, as in algorithm 8.4.3 of Golub and van Loan. ** The newton multiroot solvers now return an error when a singular jacobian is detected. ** The interpolation functions now return NaN and when x is out of range, instead of extrapolating. ** The gsl_multimin_fdfsolver multidimensional minimisers now return GSL_ENOPROG immediately if the generated trial point does not differ from the initial point (to machine precision), avoiding unnecessary further iterations. ** Extended the range of gsl_sf_bessel_lnKnu_e by rescaling intermediate results to avoid internal overflows [bug #31528]. ** Improved the result of gsl_sf_atanint_e for large arguments by adding the first order 1/x correction term. [bug #29562] ** Fixed the gsl_rng_ranlxs generators to enforce a maximum seed value of 2^31-1. Larger seed values caused out of range values to be returned. ** Fixed gsl_ran_chisq_pdf(x,nu) to return correct result of 1/2 instead of 0 when x=0 and nu=2, and +inf when x=0 and nu<2. ** Fixed gsl_pow_int(x,n) to avoid an infinite loop when n=INT_MIN due to wrapping of signed integers. ** Fixed gsl_sf_hyperg_2F1(a,b,c,x) to avoid returning NaN for arguments |a|>10. [bug #24812] ** Avoid spurious underflow return code in gsl_sf_beta_inc_e when intermediate underflow does not affect the result. [bug #30933] ** Avoid segfault in Chebyshev series derivatives gsl_cheb_calc_deriv for n=1. [bug #29139]
2011-05-08Add buildlink3.mk file.wiz1-0/+12
2011-05-06Add LIBnn=lib to ./configure environment. This fixes a build failure on ↵alnsn1-1/+4
64bit linux. Briefly discussed with wiz@
2011-04-30Update Mathomatic to version 15.6.0.asau4-53/+22
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 (&infin;) for infinities in HTML output mode. Allow solid fraction bar display in HTML output mode by using "&ndash;". 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.
2011-04-22recursive bump from gettext-lib shlib bump.obache25-46/+50
2011-04-20Fix linking against pari.hans1-2/+2
2011-04-20Add package for pari module of lang/clisp. Remove conflicting optionhans7-1/+92
pari from lang/clisp.
2011-04-19Just replace what we need.roy1-2/+7
2011-04-19Use python correctly.roy1-6/+8
2011-04-13fix a typo.obache1-2/+2
2011-04-13+ ruby-spreadsheetobache1-1/+2
2011-04-13Import ruby-spreadsheet-0.6.5.3 as math/ruby-spreadsheet.obache5-0/+99
The Spreadsheet Library is designed to read and write Spreadsheet Documents. As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported. Spreadsheet is a combination/complete rewrite of the Spreadsheet::Excel Library by Daniel J. Berger and the ParseExcel Library by Hannes Wyss. Spreadsheet can read, write and modify Spreadsheet Documents.
2011-04-07Update MPFR to version 3.0.1asau2-19/+6
Changes from version 3.0.0 to version 3.0.1: - Bug fixes (see <http://www.mpfr.org/mpfr-3.0.0/#fixed> or ChangeLog file). Note: The mpfr_subnormalize implementation up to MPFR 3.0.0 did not change the flags. In particular, it did not follow the generic rule concerning the inexact flag (and no special behavior was specified). The case of the underflow flag was more a lack of specification.
2011-04-05update to 2.12.4.1drochner3-7/+9
changes: -added dms/hms libraries (degree/hour-min-sec calculations) -bugfixes -documentation improvement
2011-04-04fix HOMEPAGE, from Kamel Derouiche per PR pkg/44823drochner1-2/+2
2011-04-01Support staged installation.asau3-35/+65
2011-03-29As suggested by joerg@, set PTHREAD_AUTO_VARS="yes". This fixes the issuesjruoho1-1/+3
discussed in: http://mail-index.netbsd.org/pkgsrc-users/2011/01/24/msg013585.html
2011-03-18Pass CFLAGS to configure scripts, fixing problems on Mac OS X; clean up some ↵adam3-12/+18
pkglint issues.