Top "Numerical-methods" questions

Algorithms which solve mathematical problems by means of numerical approximation (as opposed to symbolic computation).

Solve this equation with fixed point iteration method in python

f(x) = x^2- 2x - 3 = 0 How can I solve this equation non-linear, and used fixed point iteration method in …

python numerical-methods equation nonlinear-functions fixed-point-iteration
Gauss-Seidel Method in MATLAB

I am trying to implement the Gauss-Seidel method in MATLAB. But there are two major mistakes in my code, and …

matlab numerical-methods gauss
Javascript numerical library - vectors, matrices, determinates, inversion

Is there a reasonable numerical library in pure JavaScript? I'd like array-based vectors, matrices, determinate, and matrix inversion. This is …

javascript numerical-methods
What is a simple way to find real roots of a (cubic) polynomial?

this seems like an obvious question to me, but I couldn't find it anywhere on SO. I have a cubic …

c math numerical-methods polynomial-math
What's the numerically best way to calculate the average

what's the best way to calculate the average? With this question I want to know which algorithm for calculating the …

c++ numerical-methods
Generating digits of square root of 2

I want to generate the digits of the square root of two to 3 million digits. I am aware of Newton-Raphson …

python algorithm numerical-methods sqrt
How can you implement Householder based QR decomposition in Python?

I'm currently trying to implement the Householder based QR decomposition for rectangular matrices as described in http://eprints.ma.man.…

python numpy linear-algebra numerical-methods qr-decomposition
argsort for a multidimensional ndarray

I'm trying to get the indices to sort a multidimensional array by the last axis, e.g. >>> …

python arrays sorting numpy numerical-methods
C Code Wavelet Transform and Explanation

I am trying to implement a wavelet transform in C and I have never done it before. I have read …

c numerical-methods wavelet
Solving a non-linear system of equations in Python using Newton's Method

I am trying to solve this exercise for College. I have already submitted the code bellow. However, I am not …

python numerical-methods equation-solving newtons-method