0968162690
implemented diffs() for computing a list of derivatives from n rather than n^2 values. also implemented a chop() function for deletion of numerical noise
Fredrik Johansson
2008-11-17 16:35:06 +00:00
64e47e92ee
fix accuracy problems for asinh and atanh, and fix tanh for tiny x
Fredrik Johansson
2008-11-17 08:14:47 +00:00
7ed8a9f0cf
fix accuracy of airyai for large x.real. added more examples to airyai/airybi docs
Fredrik Johansson
2008-11-17 07:17:36 +00:00
1a75023510
texify a formula in optimization doc; rebuild documentation
Vinzent Steinberg
2008-11-15 13:47:38 +00:00
441d5c0968
have float(huge) -> inf and float(1/huge) -> 0 instead of overflowing (correct or not, i tend to find this behavior more convenient). also work around a matplotlib limitation causing very large but not quite infinite floats (gradual overflow?) to raise an error
Fredrik Johansson
2008-11-15 11:50:01 +00:00
0536cbe508
deleting old pngs (maybe?)
Fredrik Johansson
2008-11-15 00:07:03 +00:00
192a747be0
added/texified a number of docstrings. tweaked dvipng settings and rebuilt docs
Fredrik Johansson
2008-11-15 00:01:26 +00:00
2ae8b42f65
more readable output from dvipng
Fredrik Johansson
2008-11-14 17:06:59 +00:00
a7c886d169
updating to sphinx 0.5, which has support for tex math markup. started converting some docstrings...
Fredrik Johansson
2008-11-14 15:58:11 +00:00
df84cae1fc
Another bug fix for nthroot and more tests, see issue 96.
Mario Pernici
2008-11-13 11:49:03 +00:00
a836d272fd
replaced lower_gamma and upper_gamma with a more versatile function gammainc for computing the generalized (and optionally regularized) incomplete gamma function
Fredrik Johansson
2008-11-12 19:25:18 +00:00
7fe31cf816
Small change in a test.
Mario Pernici
2008-11-12 19:15:47 +00:00
cd64729b16
wrote more comprehensive docstring for jtheta and rebuilt docs; removed obsolete functions from elliptic.py and deleted elliptic_torture_tests.py
Fredrik Johansson
2008-11-12 12:28:49 +00:00
c04ed5f4a8
add a test for issue 96 (part 2)
Fredrik Johansson
2008-11-11 23:55:01 +00:00
6c036edcd7
Added exp_pade, which computes the exponential of a matrix using Pade' approximants. Added lu_solve_mat to solve a * x = b where a and b are matrices
Mario Pernici
2008-11-11 16:54:51 +00:00
f25d85875d
Fixed bug in nthroot.
Mario Pernici
2008-11-10 22:55:36 +00:00
5d5a32006e
implemented numerical fourier series
Fredrik Johansson
2008-11-10 17:34:42 +00:00
65a2a53cf0
updated docs, with docstrings for the identification module
Fredrik Johansson
2008-11-10 15:44:22 +00:00
4a67a27f31
Various changes to identify, pslq, findpoly:
Fredrik Johansson
2008-11-10 15:40:09 +00:00
a7dceefdae
created test_functions.py to make test_mpmath.py lighter
Fredrik Johansson
2008-11-08 13:08:10 +00:00
d9db4a0c80
updated docs
Fredrik Johansson
2008-11-07 22:28:34 +00:00
99b88c32a3
implemented fibonacci numbers
Fredrik Johansson
2008-11-07 22:26:25 +00:00
15d25785c1
implemented sinc and sincpi functions. fixed a small bug in sinpi/cospi
Fredrik Johansson
2008-11-07 21:24:53 +00:00
ae8c4b930e
moved cospi and sinpi implementations to more appropriate places; fixed bugs, wrote tests & docstrings
Fredrik Johansson
2008-11-07 20:53:57 +00:00
a1e116eb23
rename convert_lossless -> mpmathify (by analogy with sympy's sympify, if anyone wonders)
Fredrik Johansson
2008-11-07 19:23:09 +00:00
153f1db546
update docs
Fredrik Johansson
2008-11-06 17:49:19 +00:00
46140c99b3
slight simplification of the special-case code in mpf_add and mpf_sub
Fredrik Johansson
2008-11-06 17:38:13 +00:00
0a66e1b54e
Added pade function.
Mario Pernici
2008-11-04 09:13:22 +00:00
64e37d6337
added docs and tests for beta(); defined beta at various limits
Fredrik Johansson
2008-11-03 13:11:54 +00:00
ebe15dd265
implement the inverse error function
Fredrik Johansson
2008-11-03 12:25:32 +00:00
ec43954a34
fix an interval arithmetic bug
Fredrik Johansson
2008-11-03 12:18:30 +00:00
35cc5f4ac8
better example
Fredrik Johansson
2008-10-29 12:16:51 +00:00
3e8a3a5f2b
fix nsum to handle complex numbers in shanks()
Fredrik Johansson
2008-10-29 12:08:35 +00:00
5ceb305c9a
added re(), im(), conj(), fabs(), mpf.conjugate()
Fredrik Johansson
2008-10-29 12:07:48 +00:00
989bcab8fe
faster computation of stieltjes(n) for n = 1,2,3
Fredrik Johansson
2008-10-28 19:12:07 +00:00
f19f76e125
rebuilt docs
Fredrik Johansson
2008-10-28 17:52:11 +00:00
2b38a96415
implemented the Dirichlet eta function, via a tiny extension of the Riemann zeta code
Fredrik Johansson
2008-10-28 17:51:11 +00:00
b2355b41ca
efficiency tweak in richardson()
Fredrik Johansson
2008-10-28 17:49:21 +00:00
04acc83c13
implemented nprod() for computing infinite products
Fredrik Johansson
2008-10-26 19:50:50 +00:00
afcf8c9014
text/html mime type
Fredrik Johansson
2008-10-26 18:25:31 +00:00
423afdf104
recompiled docs; new in-progress doc page for numerical calculus functions
Fredrik Johansson
2008-10-26 18:20:37 +00:00
7eba983051
Numerous improvements to calculus.py
Fredrik Johansson
2008-10-26 18:17:14 +00:00
572bbf4f65
added/modified a few function docstrings
Fredrik Johansson
2008-10-24 10:22:53 +00:00
a46280d210
estimate bitcount in mpf_add and mpf_mul in a simpler way, avoiding bctable. this should possibly be slightly faster
Fredrik Johansson
2008-10-23 19:05:35 +00:00
8c99560df8
more function docstrings: lambertw, ei, li
Fredrik Johansson
2008-10-23 18:51:49 +00:00
31c60e913b
djtheta performs also higher order derivatives of jtheta; fixed bug in the theta functions.
Mario Pernici
2008-10-22 21:39:03 +00:00
03a0b3035f
experimentally use autodoc to transclude docstrings into sphinx docs. wrote/modified a couple of function docstrings to try it out
Fredrik Johansson
2008-10-22 13:44:45 +00:00
2ee7f3bb76
copy examples from optimization docs to corresponding docstrings
Vinzent Steinberg
2008-10-21 09:39:26 +00:00
9733bec301
Fixed bug in which djtheta(n, z, q) stalls for abs(q) too close to 1; changed tabs in spaces.
Mario Pernici
2008-10-21 08:54:39 +00:00
b78feacd8d
fix last commit
Fredrik Johansson
2008-10-20 20:36:35 +00:00
fec45de7b9
tabs -> spaces
Fredrik Johansson
2008-10-20 20:32:54 +00:00
a3c92b58e6
import the new versions of the elliptic functions
Fredrik Johansson
2008-10-20 20:00:58 +00:00
372e78e8f3
Fixed bug in which jtheta(n, z, q) stalls for abs(q) too close to 1; see issue 39.
Mario Pernici
2008-10-20 16:51:09 +00:00
4353d5a263
fix Illinois and friends; add documentation about intersection-based solvers
Vinzent Steinberg
2008-10-20 13:05:36 +00:00
2a6c5fc641
convert_lossless support for strings of complex numbers
Vinzent Steinberg
2008-10-20 12:16:42 +00:00
2c4d8fc3c7
Changed name of the function jacobi_theta to jtheta; the jacobi elliptic functions are named jsn, jcn, jdn. Added djtheta, the derivative of jtheta(n, z, q) with respect to z. Added tests in test_elliptic.py.
Mario Pernici
2008-10-20 08:55:48 +00:00
420c67bc78
fix bernoulli() being inaccurate for large n and low precision, and being needlessly slow for small n and huge precision
Fredrik Johansson
2008-10-19 15:50:43 +00:00
f2eee68beb
fix runtests.py's -profile flag
Vinzent Steinberg
2008-10-18 10:51:08 +00:00
6822c50990
fix docstring of diff()
Vinzent Steinberg
2008-10-17 15:19:18 +00:00
16df9b8bc7
Fix accuracy of mpc_zeta for large negative re(s); I had forgotten to implement the reflection formula. Optimize mpf_zeta by reflecting for re(s) < 0 instead of re(s) < 1/2
Fredrik Johansson
2008-10-17 15:19:17 +00:00
8e40634063
list comprehension for taylor()
Vinzent Steinberg
2008-10-17 15:12:21 +00:00
2f325f8ab6
fast high order differentiation via diff(), using finite differences. implemented convenience functions diffun and taylor
Fredrik Johansson
2008-10-17 14:50:34 +00:00
1b4048d3c0
fix mixed spaces/tabs in elliptic.py; fix an import in libmpc
Fredrik Johansson
2008-10-17 13:40:14 +00:00
2b70499315
Faster implementation of elliptic functions; Jacobi theta functions admit complex parameter m; added jacobi_theta(n, z, q), which depends on the nome q, not on the parameter m; it is faster because in the former representation of the theta functions most of the time is spent in computing q from m.
Mario Pernici
2008-10-17 10:13:20 +00:00
609f44a4d3
iterative improving of solutions to a linear equation system
Vinzent Steinberg
2008-10-16 14:51:05 +00:00
2631e23cd9
fix nstr for matrices
Vinzent Steinberg
2008-10-15 19:44:04 +00:00
0f9aafa989
fix LU factorization error in matrix doc
Fredrik Johansson
2008-10-15 14:38:03 +00:00
bb55cf9ab0
mime type for matrices.html
Fredrik Johansson
2008-10-15 14:28:28 +00:00
a81f9c6ff6
rebuild docs
Fredrik Johansson
2008-10-15 12:05:15 +00:00
7f8880399d
set release date
Fredrik Johansson
2008-10-15 11:56:30 +00:00
14be9eb015
copy b in L_solve
Fredrik Johansson
2008-10-14 20:34:17 +00:00
1187aa694e
apparently python 2.4 (inconsistently!) thinks 1e1000 == 1
Fredrik Johansson
2008-10-14 19:39:23 +00:00
30f9e2f1ec
CHANGES, README, version updates in anticipation of 0.10 release
Fredrik Johansson
2008-10-14 17:11:22 +00:00
cd3bc04394
secant -> findroot in manydigits.py
Fredrik Johansson
2008-10-14 16:50:46 +00:00
7eb532d3d6
fix runtests.py -strict
Fredrik Johansson
2008-10-14 16:43:23 +00:00
37d8578275
change findroot f(x) check to use sqrt(eps) instead of eps. this seems more reasonable, and is required to make the Lambert W test in the documentation pass
Fredrik Johansson
2008-10-14 16:42:58 +00:00
b6f347bd60
fix sumem(..., verbose=1)
Fredrik Johansson
2008-10-14 16:41:53 +00:00
75f33471ca
more doc updates
Fredrik Johansson
2008-10-14 16:37:55 +00:00
092725a997
doc updates
Fredrik Johansson
2008-10-14 16:14:18 +00:00
fb2dbc059b
fix messed up commit
Fredrik Johansson
2008-10-14 15:44:50 +00:00
eb68c4b7f3
more doc updates
Fredrik Johansson
2008-10-14 15:39:37 +00:00
302ae1425b
more py2.4 compatibility
Fredrik Johansson
2008-10-14 15:26:25 +00:00