cf4cc12803
fix conf.py to use correct version of mpmath
Vinzent Steinberg
2009-01-24 12:26:26 +00:00
30cecd0b2e
fix a typo in docstring of findroot()
Vinzent Steinberg
2009-01-24 10:56:36 +00:00
3387d17cad
extract documentation for solvers (findroot()) from docstrings
Vinzent Steinberg
2009-01-24 10:52:50 +00:00
46aa81a3b8
rebuilt docs
Fredrik Johansson
2009-01-23 15:35:51 +00:00
d28f6b8a1c
delete MANIFEST added by mistake
Fredrik Johansson
2009-01-23 15:30:14 +00:00
81073174b1
more doc texification, setting preliminary 0.11 status
Fredrik Johansson
2009-01-23 15:29:28 +00:00
c19a7bf4fb
some documentation editing. removing speedtricks.txt, which is partially obsolete
Fredrik Johansson
2009-01-23 14:10:01 +00:00
cc57e6c275
documentation for hyperbolic and elliptic functions
Fredrik Johansson
2009-01-23 14:06:46 +00:00
e6caaab4bd
fix circular imports and a doctest
Fredrik Johansson
2009-01-22 19:28:51 +00:00
622bd9bf89
documentation update and rebuild (mainly edited the basics section; adding docs for misc utility functions)
Fredrik Johansson
2009-01-22 18:44:45 +00:00
f981f86117
avoid "import random"; this cuts total import time in half
Fredrik Johansson
2009-01-20 18:02:51 +00:00
32e5f0d56b
fix != for mpi (issue 119)
Fredrik Johansson
2009-01-19 18:23:23 +00:00
7da588fea7
update some docstrings
Fredrik Johansson
2009-01-19 18:22:36 +00:00
e4d019d9a7
accuracy fix for exp(n), n huge and prec >= 600
Fredrik Johansson
2009-01-19 12:27:16 +00:00
a6af8ab3e5
Fix for infinite recursion bug in exp_newton with large exponent
Mario Pernici
2009-01-19 11:53:26 +00:00
84b14fb5c4
only use binary splitting for ln2 and ln10. replace sqrt_fixed/sqrt_fixed2 by isqrt_fast in a few places to avoid unnecessary shifts
Fredrik Johansson
2009-01-19 02:34:30 +00:00
8648ef5be0
use a *much* faster formula for stieltjes constants, and valid also for generalized stieltjes constants
Fredrik Johansson
2009-01-15 07:47:29 +00:00
dd1736294b
Slightly faster hypergeometric functions with rational parameters.
Mario Pernici
2009-01-14 22:09:18 +00:00
61b4671eb3
Slightly faster exp_series and atan_taylor.
Mario Pernici
2009-01-13 22:05:38 +00:00
9f5f0d1630
runtests.py: more accurate timer on unix
Vinzent Steinberg
2009-01-13 20:04:13 +00:00
4d8aab80a2
use fdot() for faster matrix multiplication
Vinzent Steinberg
2009-01-13 19:26:18 +00:00
0e22d79f5e
configured for using bitcount1, optimized for mpz arguments.
Mario Pernici
2009-01-13 17:27:04 +00:00
73f8e95980
optimized mpf_add, mpf_mul, mpf_mul_int for gmpy. also optimized mpf_add and mpf_sub generally by removing unnecessary operations; permitting prec=0 in mpf_add/mpf_sub to disable rounding
Fredrik Johansson
2009-01-13 12:31:52 +00:00
7d6ffd9ad2
implemented fdot for slightly faster dot products than fsum
Fredrik Johansson
2009-01-13 03:01:17 +00:00
7d0f41e636
improved sqrt code, with correct rounding in mpf_sqrt and utility functions for correctly rounded integer square roots. also fixed a rounding bug in mpf_div and streamlined mpf_div a bit
Fredrik Johansson
2009-01-12 13:11:25 +00:00
8fa5e97bfa
fix for issue 115 (fsum in python-mode)
Fredrik Johansson
2009-01-11 15:40:38 +00:00
c5dfc28b55
fsum implemented more efficiently, with a low-level mpf_sum function. support finite sums in nsum and nprod and simplify interface for fsum and fprod. added a utility function timing()
Fredrik Johansson
2009-01-10 01:09:40 +00:00
fb489fe132
more documentation for multidimensional rootfinding
Vinzent Steinberg
2009-01-09 09:46:24 +00:00
f3ec0e14e5
fix atan and atanh to return better values at complex infinities
Fredrik Johansson
2009-01-08 12:47:57 +00:00
0dc6bad637
fix for issue 114: tanh(inf) raising an exception
Fredrik Johansson
2009-01-08 01:30:49 +00:00
b824bddc40
fix for issue 113 (complex log accuracy). also added docstring for exp
Fredrik Johansson
2009-01-06 23:15:03 +00:00
7b75041509
Minor updates to take advantage of new features in gmpy 1.04.
Case Van Horsen
2009-01-05 08:27:56 +00:00
4feb7b339a
log(2) computed with binary splitting at very high precision in gmpy mode.
Mario Pernici
2008-12-17 12:03:59 +00:00
17d17a8011
rebuilt docs
Fredrik Johansson
2008-12-10 11:35:09 +00:00
fbe6c8f655
documentation for trigonometric functions
Fredrik Johansson
2008-12-10 11:26:16 +00:00
d445510fe4
added fsum and fprod functions for evaluating finite sums/products
Fredrik Johansson
2008-12-10 11:25:22 +00:00
fa94908e54
Fixed bug in log; added test.
Mario Pernici
2008-12-09 15:39:26 +00:00
e8366c19e6
rebuilt docs
Fredrik Johansson
2008-12-08 20:54:31 +00:00
49c8219c28
renamed jv -> besselj; implemented the missing Y, I, K bessel functions plus hankel functions
Fredrik Johansson
2008-12-08 20:09:51 +00:00
560abc09a1
texified polyval, polyroots docstrings
Fredrik Johansson
2008-12-08 19:58:18 +00:00
63da5c80e6
Made more precise tests for log and exp.
Mario Pernici
2008-12-08 12:21:17 +00:00
0d41373799
Added missing import; added one test.
Mario Pernici
2008-12-07 21:46:08 +00:00
a532dd36e2
Fast exponential at very high precision using the Newton method. Fixed a bug for log(x) for x very large and at high precision.
Mario Pernici
2008-12-07 18:40:26 +00:00
98529f87d0
faster implementation of ci and si, especially for large real x (using an asymptotic expansion), but also for small x via specialized series evaluation; docstrings written for ci, si, chi, shi, fresnelc, fresnels
Fredrik Johansson
2008-12-07 14:24:58 +00:00
b6a8a5df0e
small docstring edits
Fredrik Johansson
2008-12-03 11:55:47 +00:00
1129ad0123
py2.4 compatibility fix (issue 107)
Fredrik Johansson
2008-12-03 11:53:27 +00:00
364af628be
Added comments in pade(); small changes in linalg.py
Mario Pernici
2008-12-02 10:58:56 +00:00
7060e07950
update CHANGES with most of the changes since 0.10 committed so far
Fredrik Johansson
2008-12-01 22:45:05 +00:00
5ff00071a4
implemented bernoulli polynomials and polylog
Fredrik Johansson
2008-12-01 18:57:38 +00:00
d0ce1d548c
Slightly faster logarithm at low precision.
Mario Pernici
2008-12-01 17:49:24 +00:00
09cac19900
Added high precision tests for logarithm in test_hp.py
Mario Pernici
2008-12-01 16:32:16 +00:00
9442866e0b
updated docs
Fredrik Johansson
2008-12-01 12:41:47 +00:00
d0381f62dd
implemented the Barnes G-function, superfactorials and hyperfactorials
Fredrik Johansson
2008-12-01 12:19:03 +00:00
b269c9db82
some more docstrings
Fredrik Johansson
2008-11-30 21:51:24 +00:00
f27ad742ef
Fast logarithm at very high precision using the formula by Sasaki and Kanada. Added sqrt_newton from libarith; python_sqrt_fixed2 calls it. Added stresstest_log.py to test logarithms at very high precision.
Mario Pernici
2008-11-30 17:08:10 +00:00
0ee4a3af8d
implemented double factorials (fac2); docstrings written for factorial, gamma, binomial, rf, ff, psi
Fredrik Johansson
2008-11-29 14:38:48 +00:00
f5b4b6d82f
fix erroneous nodes for 0-th order gauss-legendre quadrature (this was not causing wrong results, but unnecessary slowness)
Fredrik Johansson
2008-11-28 20:09:34 +00:00
e959e4c4be
cache quadrature nodes over arbitrary intervals when requested more than once
Fredrik Johansson
2008-11-28 19:29:21 +00:00
d620cc23e0
fix docstring typo
Fredrik Johansson
2008-11-26 23:56:32 +00:00
85566ec515
rebuilt docs
Fredrik Johansson
2008-11-26 23:42:30 +00:00
e0319bec89
high-precision ode solver, initial implementation
Fredrik Johansson
2008-11-26 23:34:27 +00:00
b77e9f451d
better test for multidimensional findroot()
Vinzent Steinberg
2008-11-25 15:32:25 +00:00
64f3fc90a7
implemented a helper to monitor evaluation of arbitrary functions (useful for debugging findroot, quad, nsum, etc)
Fredrik Johansson
2008-11-25 12:37:49 +00:00
74add2889b
Minor changes to support _mpmath_normalize function in the soon-to-be-released gmpy 1.04.
Case Van Horsen
2008-11-25 04:36:10 +00:00
c615bedc9f
created calculus documentation subdirectory. rebuilt docs with sphinx 0.5 and removed obsolete files
Fredrik Johansson
2008-11-23 19:24:53 +00:00
b3ccae5d0f
tweaks to findroot __doc__, mostly to prevent sphinx from complaining about markup (some stylistic changes; Vinzent, feel free argue)
Fredrik Johansson
2008-11-23 19:06:03 +00:00
287976081a
proper documentation with tests written for quad(), quadosc() and the Quadrature classes. some minor code and interface changes were also made to address deficiencies discovered while writing the docs. moved quadosc to quadrature.py
Fredrik Johansson
2008-11-23 19:03:44 +00:00
4520a1af8c
findroot: return starting point if it's a root
Vinzent Steinberg
2008-11-23 17:30:37 +00:00
9f1e4a32a9
delete code for unused functions: secant, sumrich, sumsh, sumemx
Fredrik Johansson
2008-11-22 17:50:52 +00:00
bab15c5a60
Updated limits/summation code:
Fredrik Johansson
2008-11-22 17:11:45 +00:00
3c693e1be1
Slightly faster log_taylor.
Mario Pernici
2008-11-21 21:51:53 +00:00
b9aa4aabb1
findroot() for multidimensional functions
Vinzent Steinberg
2008-11-19 21:04:32 +00:00
dec3c67e17
mpf('inf') works too
Vinzent Steinberg
2008-11-19 20:01:44 +00:00
3cf79c316f
revised nsum, making the euler-maclaurin method available (among other changes). replaced the standalone sumem function with a less complicated version. docstring updates.
Fredrik Johansson
2008-11-19 19:16:28 +00:00
aa2e6258a1
float('inf') doesn't work on some platforms
Fredrik Johansson
2008-11-19 16:59:54 +00:00
60e144c33f
convert diffs into a generator
Fredrik Johansson
2008-11-19 16:57:46 +00:00