e7ccedbe8a
rebuild trunk documentation
Fredrik Johansson
2010-02-08 11:10:56 +00:00
cde53f13b8
update documentation source
Fredrik Johansson
2010-02-08 11:08:44 +00:00
0af72cb7f4
implemented bilateral hypergeometric series (bihyper())
Fredrik Johansson
2010-02-08 11:07:58 +00:00
a273dfe8a9
fix a bug in qp and add some doctests for qhyper
Fredrik Johansson
2010-02-07 23:44:54 +00:00
7d962f5ea8
implemented q-functions: q-Pochhammer symbol, q-factorial, q-gamma function, q-hypergeometric function (the main file accidentally got included in the last commit; cleaning up...)
Fredrik Johansson
2010-02-07 23:20:42 +00:00
0689a44049
implemented the Klein j-invariant (kleinj()); added qbarfrom() for computing the nome (number-theoretic definition)
Fredrik Johansson
2010-02-07 23:15:27 +00:00
7969fde7c8
make chop() chop off *relatively* small real/imaginary parts
Fredrik Johansson
2010-02-07 23:10:46 +00:00
80bf015ebe
change/add some options for diff/diffs/taylor; unify code for diff/diffs
Fredrik Johansson
2010-02-07 22:33:20 +00:00
8fb6053978
get rid of some of the complaints python -3 has about the code
Fredrik Johansson
2010-02-06 20:16:10 +00:00
97284580bf
add a mul_accurately method to complement sum_accurately (to be used...)
Fredrik Johansson
2010-02-06 19:48:34 +00:00
7ef29e3643
update documentation source for elliptic functions; create references section
Fredrik Johansson
2010-02-06 19:27:57 +00:00
6f9c4231e7
Improvements to the elliptic functions module:
Fredrik Johansson
2010-02-06 19:26:50 +00:00
43bd32bf60
include NoConvergence among exceptions suppressed while plotting
Fredrik Johansson
2010-02-06 19:13:29 +00:00
e2157a5a3d
copy existing docstring by default
Fredrik Johansson
2010-02-06 19:12:49 +00:00
347344abfe
speed up nprod by directly using the partial products by default instead of going via nsum
Fredrik Johansson
2010-02-06 02:49:55 +00:00
763a8e3441
fix precision wrappers in linalg.py
Fredrik Johansson
2010-02-06 01:03:32 +00:00
19c1c44d04
provide cos_sin and cospi_sinpi for faster simultaneous computation; use these in various places
Fredrik Johansson
2010-02-05 22:15:31 +00:00
393c39c726
rebuild documentation
Fredrik Johansson
2010-02-05 16:42:28 +00:00
3adb07ea95
call this 0.14
Fredrik Johansson
2010-02-05 16:40:23 +00:00
0bbf41bab6
small fix for python 2.4 compatibility
Fredrik Johansson
2010-02-05 16:05:39 +00:00
709f30f092
corrected numerical noise in a doctest
Fredrik Johansson
2010-02-05 15:55:34 +00:00
09a3e1cd21
consistent line endings
Fredrik Johansson
2010-02-04 14:43:01 +00:00
356f116413
another numerical noise fix
Fredrik Johansson
2010-02-04 14:32:57 +00:00
1f38d7b568
avoid incredibly slow evaluation of hyp2f1 for z ~= -1
Fredrik Johansson
2010-02-04 14:11:33 +00:00
0040ea5bb9
make runtests print some more information
Fredrik Johansson
2010-02-04 13:11:53 +00:00
3b570f113e
include plot png files in distribution
Fredrik Johansson
2010-02-04 01:49:01 +00:00
c2580886b0
rebuild documentation
Fredrik Johansson
2010-02-04 01:45:28 +00:00
04f8ffeab7
update documentation sources
Fredrik Johansson
2010-02-04 01:42:24 +00:00
3f17ebc29b
various small fixes (mostly docstrings edits)
Fredrik Johansson
2010-02-04 01:35:22 +00:00
9d7112a59e
Add subpackages to setup.py
Fredrik Johansson
2010-02-03 01:01:35 +00:00
c5d1125530
Reorganization to support the improved Cython backend in Sage. A number of internal methods have been renamed in the process. The patch also contains some other optimizations.
Fredrik Johansson
2010-02-03 00:56:42 +00:00
c7f48602f9
faster implementation of fp.zeta for real arguments; eliminate overhead for fast cases in zeta by trying to call _zeta directly; use zeta to compute altzeta in the general case
Fredrik Johansson
2010-01-24 22:53:13 +00:00
629630b96b
fix accuracy issue in mpf_zeta and mpc_zeta when s ~= 1
Fredrik Johansson
2010-01-24 20:44:04 +00:00
5160ad3bcb
minor optimization
Fredrik Johansson
2010-01-22 16:32:51 +00:00
5df0f4ee18
remove dummy comment
Fredrik Johansson
2010-01-22 16:31:19 +00:00
80685a4e0d
faster and more accurate fp versions of ei and e1 (affecting also li, ci, si, ...)
Fredrik Johansson
2010-01-22 16:24:56 +00:00
de403a0b3c
improve ci,si,chi,shi for complex arguments by computing them using ei; make ci,si,chi,shi,ei,e1,li work with fp. TODO: implement ei in math2
Fredrik Johansson
2010-01-22 12:37:21 +00:00
73b4ea4820
fix last commit
Fredrik Johansson
2010-01-21 21:48:16 +00:00
63ddc2ad41
use fp.lambertw to generate the initial value for mp.lambertw (gives ~2x speedup at mp.dps = 15)
Fredrik Johansson
2010-01-21 21:39:41 +00:00
b3bc19141c
Fix compatibility with python 2.4 and python 2.5. Most importantly: to support the fp context, the .real and .imag attributes cannot be used except where the type is guaranteed to be complex
Fredrik Johansson
2010-01-21 20:27:22 +00:00
e46a2c48b9
implemented spherical harmonics (spherharm)
Fredrik Johansson
2010-01-21 19:14:46 +00:00
fdae271800
rszeta: document why wptheta is multiplied by 1.5; fix one place where this factor was missing
Fredrik Johansson
2010-01-20 19:23:33 +00:00
6d1714585c
implemented numerical evaluation of Euler polynomials (eulerpoly) and Euler numbers (eulernum); optimized bernpoly and using accurate summation for eulerpoly and bernpoly; tweaks to sum_accurately
Fredrik Johansson
2010-01-20 19:16:48 +00:00
bdd981fb7e
fix a few fp functions; add fast real fp.erf and fp.erfc; create initial set of tests of fp functions
Fredrik Johansson
2010-01-20 12:57:38 +00:00
6818d83640
slight optimization in jtheta
Fredrik Johansson
2010-01-20 11:23:59 +00:00
6d548b0dd7
restore docstrings for elliptic functions; plus a few bugfixes and doctest modifications
Fredrik Johansson
2010-01-19 20:11:30 +00:00
b91b69c179
use expj and expjpi in two more places
Fredrik Johansson
2010-01-19 12:58:44 +00:00
ae83f2a42b
optimized zetasum for complex arguments
Fredrik Johansson
2010-01-19 12:58:02 +00:00
633b9bbb53
update demo scripts
Fredrik Johansson
2010-01-17 20:40:21 +00:00
6df47e5c63
export bin_to_radix in libmp since it's used in one of the demo scripts
Fredrik Johansson
2010-01-17 20:39:28 +00:00
842c076717
Rzeta: don't print message, put it in the exception
Fredrik Johansson
2010-01-17 18:42:45 +00:00
889eb7c4a7
unified zeta() and hurwitz(); the implementation now chooses between the Borwein, Euler-Maclaurin, and Riemann-Siegel methods
Fredrik Johansson
2010-01-17 18:31:25 +00:00
b61e326f76
Contributed by Juan Arias de Reyna <arias@us.es>: a new module rszeta for rapid evaluation of the Riemann zeta and Z functions at large heights using the Riemann-Siegel expansion
Fredrik Johansson
2010-01-17 17:25:23 +00:00
947e5c3c3e
a few bugfixes for fp.harmonic and fp.digamma; deprecating psi0, psi1 and related function aliases
Fredrik Johansson
2010-01-17 17:19:44 +00:00
079dde1027
move a few methods
Fredrik Johansson
2010-01-16 09:56:30 +00:00
198caaa2c9
fix lu_solve for overdetermined complex systems (don't know whether qr_solve could also be fixed)
Vinzent Steinberg
2010-01-15 22:35:07 +00:00
33d37f5dcb
add test for nstr
Vinzent Steinberg
2010-01-15 21:43:50 +00:00
855f62b4c7
provide phase(), polar(), rect() for compatibility with the Python 2.6 cmath module; restore some accidentally deleted docstrings; slightly more sane way to define function aliases
Fredrik Johansson
2010-01-15 21:13:56 +00:00
e614f778ae
make runtests.py print some more info
Fredrik Johansson
2010-01-15 20:21:52 +00:00
6790ef94c8
make nstr pass on kwargs; change default min_fixed to at least -5
Fredrik Johansson
2010-01-15 20:07:33 +00:00
876cb484d0
remove some duplicated code
Fredrik Johansson
2010-01-15 18:48:35 +00:00
a956614bdb
fix fp.cospi bug
Fredrik Johansson
2010-01-15 18:40:21 +00:00
60394880eb
improved fp floor, ceil, cospi, sinpi versions
Fredrik Johansson
2010-01-14 08:13:45 +00:00
1441b1eb44
fix a bug in powm, and some more small fp additions
Fredrik Johansson
2010-01-14 06:07:39 +00:00
4b641f463a
support Borel summation of divergent hypergeometric series; support parameter elimination in hypergeometric functions; some refactoring of hypergeometric code
Fredrik Johansson
2010-01-13 10:23:16 +00:00
a9f24f729c
small fixes for fp matrix functions
Fredrik Johansson
2010-01-13 06:37:41 +00:00
b044465b06
implemented matrix functions expm, cosm, sinm, sqrtm, logm, powm
Fredrik Johansson
2010-01-13 00:08:19 +00:00
944d7d5ce0
fix some more fp breakage
Fredrik Johansson
2010-01-12 20:43:57 +00:00
3710518085
some internal renaming
Fredrik Johansson
2010-01-12 20:21:08 +00:00
bf716a8b7a
split functions.py into smaller pieces
Fredrik Johansson
2010-01-12 19:28:32 +00:00
01b3f061c5
split calculus.py into smaller pieces
Fredrik Johansson
2010-01-12 18:41:41 +00:00
69ee4bc56c
move linalg.py matrices.py -> matrices/
Fredrik Johansson
2010-01-12 18:30:54 +00:00
4218ff39a0
rename mptypes.py -> ctx_mp.py
Fredrik Johansson
2010-01-12 18:27:02 +00:00
2413d1a18b
moving modules to subdirectories: mpmath/libmp, mpmath/calculus, mpmath/functions
Fredrik Johansson
2010-01-12 18:19:42 +00:00
363ff7dd4b
add a huge_range option in torture.py to test a larger range of arguments
Fredrik Johansson
2010-01-12 16:10:28 +00:00
d5d1e1e901
follow Mathematica's convention to use a different form of Meijer G for certain orders and arguments (allow the old behavior using the optional series argument)
Fredrik Johansson
2010-01-12 14:45:24 +00:00
f1437199e5
add splot for 3D surface plots; make it possible to use plot functions with custom axes (contributed by Jorn Baayen)
Fredrik Johansson
2010-01-12 13:06:31 +00:00
575c6525bc
small fix in mpf_abs
Fredrik Johansson
2010-01-12 12:16:37 +00:00
4269ccf90a
better handling of 0^0 in hypercomb
Fredrik Johansson
2010-01-12 12:10:40 +00:00
c1a0359ce3
add fp fac, digamma, psi, harmonic and fix some small related bugs
Fredrik Johansson
2010-01-12 11:59:00 +00:00
df9c2b7efe
add convenience functions expj, expjpi for fast/accurate exponentials of modified argument
Fredrik Johansson
2010-01-12 11:21:20 +00:00
3fe89c14af
minor fixes
Fredrik Johansson
2010-01-12 02:00:48 +00:00
a06082ed93
Many changes to improve accuracy for hypergeometric functions:
Fredrik Johansson
2010-01-07 09:31:23 +00:00
6f264b00cd
implement analytic continuation for pFq, p=q+1 to |z| >= 1; special-case hyp3f2
Fredrik Johansson
2009-12-22 16:01:02 +00:00
598d074a3c
minor cleanup
Fredrik Johansson
2009-12-22 01:11:50 +00:00
0644370996
fix besselj, expint, gammainc, erf, erfc for fp by falling back to the generic code by default
Fredrik Johansson
2009-12-21 23:21:44 +00:00
10d4d51dd1
various small fixes
Fredrik Johansson
2009-12-20 12:54:11 +00:00
b2322d8d1c
Merge new contexts code from the mp4 branch.
Fredrik Johansson
2009-12-19 00:28:17 +00:00
238e7967fe
fix some exception; thanks to Chris Smith for spotting this
Vinzent Steinberg
2009-12-09 23:03:27 +00:00
a94c1a8200
fix some typos; contributed by Chris Smith
Vinzent Steinberg
2009-12-09 21:25:24 +00:00
8ee6eb3348
give li() an option to calculate the offset logarithmic integral
Fredrik Johansson
2009-11-06 09:47:57 +00:00
4271e7cb09
don't cache more than MAX_LOG_INT_CACHE integer logarithms
Fredrik Johansson
2009-11-06 09:16:33 +00:00
92664558c6
Fix wrong generated branch for a small set of complex inputs to the Lambert W function
Fredrik Johansson
2009-11-06 08:44:41 +00:00
06b9de6bca
Fix addition rounding bug (issue 160)
Fredrik Johansson
2009-11-02 21:18:02 +00:00
e3caa1eef8
some misc changes; added an experimental zetasum function
Fredrik Johansson
2009-11-02 21:01:51 +00:00
71ce7520c1
use reflection formula for Barnes G-function, permitting arguments arbitrarily far into the left half-plane for barnesg, superfac, hyperfac
Fredrik Johansson
2009-08-22 09:41:12 +00:00
e74287c805
Fix accuracy problem in 2F1 for huge parameters and |z| ~= 1
Fredrik Johansson
2009-08-17 07:32:05 +00:00
09495951f1
mpmathify: support matrices
Vinzent Steinberg
2009-08-14 08:05:17 +00:00
882356ff8d
update __init__.py and documentation version to 0.13
Fredrik Johansson
2009-08-13 18:44:10 +00:00