Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 7934

Numerical algorithms for problems in analysis and algebra, scientific computation

1 vote
Accepted

Valid to use all Wynn-extrapolated values?

There really isn't a theorem you can use, since most of the applicable theory is for sequences with known asymptotic behavior. For "in the wild" sequences, you can do no better than to check that the …
J. M. isn't a mathematician's user avatar
18 votes
Accepted

Numerical differentiation. What is the best method?

If your function is badly behaved (e.g. noisy, very oscillatory), no method will perform properly (differentiation is numerically very unstable). That being said, for "nice functions", I have good exp …
J. M. isn't a mathematician's user avatar
3 votes

Finding all roots of a polynomial

You have already seen McNamee's excellent bibliography on polynomial root-finding methods? Personally I have a preference for the "simultaneous iteration" methods (of which Durand-Kerner and Ehrich-A …
J. M. isn't a mathematician's user avatar
2 votes

Optimum small number for numerical differentiation

I use the technique given by J.C. Nash in the book Compact Numerical Methods for Computers. On page 219, there is the formula $h=\sqrt{\epsilon}\left(|x|+\sqrt{\epsilon}\right)$ where $\epsilon$ is …
J. M. isn't a mathematician's user avatar
2 votes

What is the best algorithm to find the smallest nonzero Eigenvalue of a symmetric matrix?

Probably still your best bet, after of course reducing your original symmetric matrix to tridiagonal form, would be either bisection (with the help of Gerschgorin bounds) or an appropriate modificatio …
J. M. isn't a mathematician's user avatar
1 vote

Numerical Solution to Inverse Integral (Pseudo Random Number Generation)

There's always the option of expanding $f$ as a series, integrating that, and performing Lagrange inversion to obtain a series for the inverse function, from which you can determine suitable function …
J. M. isn't a mathematician's user avatar
5 votes

Pade approximant to exponential function

Well, there are explicit expressions for the numerator $N_{pq}(z)$ and denominator $D_{pq}(z)$ of the $(p,q)$ Padé approximant for $\exp(z)$: $\displaystyle N_{pq}(z)=\sum_{j=0}^p \frac{(p+q-j)!p!}{( …
J. M. isn't a mathematician's user avatar
1 vote

Second order Taylor expansion to solve system of equations

I haven't gotten around to downloading and reading it (and I'm wondering how I missed this when I was searching for results related to Halley's method), but apparently a multivariate version of the Ha …
J. M. isn't a mathematician's user avatar
1 vote

do numerical integration with fixed abscissas

I have settled this question here; in brief, a FORTRAN implementation of algorithms for solving this problem have been published in the Collected Algorithms of the ACM. At the risk of being redunda …
J. M. isn't a mathematician's user avatar
2 votes
Accepted

Numerical Beta Function

There's nothing more straightforward than using the gamma function relationship, I believe (perhaps using Lanczos's approximation to compute the gamma functions). Of course, for integer arguments, the …
J. M. isn't a mathematician's user avatar
2 votes

Evaluating a limit similar to the Euler constant

As already mentioned by Fedor and Igor, you can ignore the logarithmic term since it zeroes out at $\infty$, and you can just concentrate on the series $$-\frac{i}{2}\sum_{k=1}^\infty \frac1{ik+k^{3/ …
J. M. isn't a mathematician's user avatar
2 votes

Square root of non-positive definite matrix

Personally, I'm still a bit torn while giving this prescription. I am of the opinion that for truly reliable computation, one should use the singular value decomposition whenever one can tolerate the …
J. M. isn't a mathematician's user avatar
1 vote

The maximum of a real trigonometric polynomial

With credits to J.J. Green, I found this paper on finding the maximum modulus of a polynomial on the disk; it might be of help in this case.
36 votes

Why not evaluate integrals using ODE-solvers?

Here's my take on the matter: the difference of philosophy between quadrature routines and ODE solving routines, I believe, is this: Extrapolation is riskier than interpolation. Remember that nu …
J. M. isn't a mathematician's user avatar
12 votes
Accepted

Evaluating elliptic integrals

This question has been out for a while, and I think it deserves a thorough answer, even tho I came quite late to this party. As both the classical Legendre-Jacobi theory and the Carlson theory have b …
J. M. isn't a mathematician's user avatar

15 30 50 per page