numerical-methods
Numerical integration of a function with values known at a given point set (finite and discrete) over an area bounded by discrete points?
Let D be the area bounded by a series of points {x_i,y_i} (1<=i<=N).(The area need not to be convex and the points are supposed to go along the boundary curve.)[详细]
2023-03-06 18:47 分类:问答Modifying C implementation of rk4 method
My problem is, frankly, that I\'m unsure how this works. I need to modify the double f() function to solve an arbitrary[详细]
2023-03-01 20:56 分类:问答OpenMP and reduction()
I\'ve got simply 3 functions, one is control function aan the next 2 function are done in a bit different way using OpenMP. But function thread1 gives another score than thread2 and control and I have[详细]
2023-02-25 02:09 分类:问答Finite difference in Haskell, or how to disable potential optimizations
I\'d like to implement the following naive (first order) finite differencing function: finite_difference :: Fractional a => a -> (a -> a) -> a -> a[详细]
2023-02-24 08:19 分类:问答Approximating the square root of sum of two squares on a microcontroller
I\'m working on implementing an FFT algorithm in assem开发者_如何学Cbly on an 8-bit microcontroller (HCS08) for fun. Once the algorithm is completed, I\'ll have an array of 8-bit real/imaginary pairs,[详细]
2023-02-22 05:06 分类:问答Runge-Kutta. Solving initial value problem that isn't easily seperated
We are supposed to write a program to solve the following initial value problem numerically using 4th order Runge-Kutta. That algorithm isn\'t a problem and I can post my solution when I finish.[详细]
2023-02-21 05:32 分类:问答Algorithm for fixed-point multiplication
I\'m trying to rescale a timestamp (fractional part of seconds only) from nanoseconds (units of 10^-9 seconds) to the lower half of an NTP timestamp (units of 2^-32 seconds). Effectively this means mu[详细]
2023-02-14 13:11 分类:问答Implementing a Newton-Raphson iteration method
I\'m trying to implement a backward Euler Scheme using the Newton Raphson iteration. I understand that with each iteration, one makes an initial guess, calculates the residual and solv开发者_运维百科e[详细]
2023-02-13 02:51 分类:问答Automatic differentiation library in Scheme / Common Lisp / Clojure
I\'ve heard that one of McCarthy\'s original motivations for inventing Lisp was to write a system for automatic differentiation. Despite this, my Google searches haven\'t yielded any libraries/macros[详细]
2023-02-09 00:29 分类:问答Tips on language or environment with better results in teaching numerical methods [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-02-07 15:30 分类:问答