Skip to main content

Questions tagged [numerical-analysis]

0 votes
1 answer
40 views

I'm looking to store money as Double, and I feel this should be safe because Im not doing any operations on it. just storing. But I am wondering whats the biggest number that can be stored before the ...
infoMining's user avatar
3 votes
0 answers
91 views

This is about the proof of Theorem A on pg. 235 of Knuth's "The Art of Computer Programming" Vol. 2, 3rd Ed. Background: By "normalized floating point number" Knuth means a number ...
Simon's user avatar
  • 350
2 votes
0 answers
31 views

Being new in this forum, would like to get some hints for solving the following problem. In the attached frame the short vertical line segments are emission lines. As can be clearly seen, these lines ...
noste99's user avatar
  • 121
1 vote
4 answers
218 views

In GNU Octave, num2str(pi,"%.20f") prints 3.14159265358979311600. I understand that only the first 15 decimal places ...
user1540930's user avatar
7 votes
2 answers
3k views

I typed the following into the python console: ...
Beatnik Dopa's user avatar
0 votes
2 answers
144 views

I was searching for the following simple thing, but to my surprise couldn't find anything online. Is there a linear time approximation algorithm for multiplication or for division. Meaning, Given I=$[...
John Kall's user avatar
  • 123
1 vote
0 answers
42 views

How Does the ELM Method Approximate Solutions to Linear ODEs Without Direct Training Data? Summary of the Problem I am working on solving a linear inhomogeneous ordinary differential equation (...
RIZWAN GULZAR MIR's user avatar
1 vote
0 answers
30 views

I am trying to evaluate the probability density function for the Variance-gamma distribution which is $$f(x) \propto |x|^{\lambda - \frac{1}{2}}K_{\lambda - \frac{1}{2}}\left(\alpha|x|\right)e^{\beta|...
Tim Hargreaves's user avatar
2 votes
1 answer
184 views

Suppose we want to find a vector $x\in R^n$ that satisfies the constraints $g_i(x)\leq 0$, for $i\in 1,\ldots, m$, where all $g_i$ are convex functions. The functions can be given by an oracle access: ...
Erel Segal-Halevi's user avatar
2 votes
0 answers
74 views

What is the best way of implementing the following function, $$f(x) = \frac{x}{\max(1, |x|)},$$ where $x$ is complex, using a Cartesian representation of $x$ with IEEE 754 floating point ...
sircolinton's user avatar
1 vote
1 answer
226 views

I'm trying to understand the implementation of the algoritm here. Please see GammaLowerRegularized(a, x) function. I understand 1st part of the function for ...
Denis's user avatar
  • 131
1 vote
1 answer
252 views

I was reading that a quantity $x$ is $0$ upt to numerical precision. What does this statement formally mean -- especially in the context of numerical methods or real computers. I looked up in google ...
Charlie Parker's user avatar
0 votes
2 answers
141 views

Consider that \begin{align} \Gamma(n+1) = n! \end{align} for any integers. I then got the following two questions: What is the largest value of $n$ for which $Γ(n+1)$ and $n!$ can be exactly ...
Jens Kramer's user avatar
4 votes
2 answers
399 views

I'm trying to make an algorithm that finds the first 10 or so terms of a function's Taylor series, which requires finding the nth derivative of the function for the nth term. It's easy to implement ...
Natrium's user avatar
  • 175
1 vote
0 answers
90 views

So the Remez algorithm is an algorithm for finding optimal polynomial approximations or at the very least for converging towards them. To find an approximation of $f$ by an $N$th degree polynomial the ...
Jake's user avatar
  • 3,810

15 30 50 per page
1
2 3 4 5
7