Top "Numerical-methods" questions

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

Fast algorithm to calculate Pi in parallel

I am starting to learn CUDA and I think calculating long digits of pi would be a nice, introductory project. …

algorithm parallel-processing cuda numerical-methods pi
sparse matrix library for C++

Is there any sparse matrix library that can do these: solve linear algebraic equations support operations like matrix-matrix/number multiplication/…

matrix sparse-matrix numerical-methods numerical-analysis
is there a c++ library for ordinary differential equation (ODE) solvers?

More specifically, i'm interested in 8th order Dormand-Prince embedded method, it's based on Runge-Kutta, and stiff equations. I use Numerical …

c++ numerical-methods ode differential-equations
How to use BigInteger in VS 2010

I have been trying to use the BigInteger type, that is supposedly new in .NET Framework 4.0. I don't seem to …

c# .net-4.0 numerical-methods
Verlet algorithm implementation in Python

I have problem with implementation of verlet algorithm in Python. I tried this code: x[0] = 1 v[0] = 0 t[0] = 0 a[0] = 1 for i …

python physics numerical-methods verlet-integration
sample random point in triangle

Suppose you have an arbitrary triangle with vertices A, B, and C. This paper (section 4.2) says that you can generate …

algorithm geometry numerical-methods sampling
How can I increase the number of subdivisions for functions in `scipy.integrate.dblquad`?

I'm using scipy.integrate.dblquad, and I get this error: UserWarning: The maximum number of subdivisions (50) has been achieved. If …

python scipy numerical-methods integral
Hermite interpolation in Python

I have this program for calculating Hermite interpolation. Problem is, that its behave really bad. This is chart for 35 Chebyshev …

python interpolation numerical-methods hermite
Integral Function in R

I have defined the following function in R (where a is a given constant and is a known function) but …

r function numerical-methods integral numerical-integration
Fast gradient-descent implementation in a C++ library?

I'm looking to run a gradient descent optimization to minimize the cost of an instantiation of variables. My program is …

c++ visual-studio-2010 optimization numerical-methods gradient-descent