numerical-analysis
Which way has better accuracy to compute the matrix matrix vector product, A B u?
I want to compute the vector, s = A B u, where s and u are N-dimensional complex vector, A is a N-by-M complex matrix, B is M-by-N complex matrix. Which of the following two ways has better accuracy[详细]
2023-04-08 04:36 分类:问答Rules-of-thumb doc for mathematical programming in R?
Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing in R? Does anyone have a short list of their best-practices? E.g., it would include ite[详细]
2023-04-07 07:29 分类:问答c++ numerical analysis Accurate data structure?
Using double type I made Cubic Spline Interpolation Algorithm. That work was success as it seems, but there wa开发者_StackOverflow社区s a relative error around 6% when very small values calculated.[详细]
2023-03-29 02:16 分类:问答Numerical pitfalls without extended precision FPUs
Monniaux\'s 开发者_开发技巧excellent article, \"The Pitfalls of Verifying Floating Point Arithmetic\", gives examples of unexpected numerical behavior. However, most of the examples depend on extended[详细]
2023-03-23 12:49 分类:问答Lambert W function implementation in Java
I\'m working on a pr开发者_高级运维oject and have found myself in a situation where I need a function to be able to get at least an approximation of the value of W(x), the Lambert W function, where x[详细]
2023-03-22 02:32 分类:问答Calculating average of two values, minimizing errors
I am doing some floating point calculations and the results are not as accurate as I want them to be.[详细]
2023-03-15 10:44 分类:问答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 分类:问答How accurate/precise is java.lang.Math.pow(x, n) for large n?
I would like to calculate (1.0-p)^n where p is a double be开发者_如何学Ctween 0 and 1 (often very close to 0) and n is a positive integer that might be on the order of hundreds or thousands (perhaps l[详细]
2023-02-22 13:11 分类:问答matrix mul max value estimate
Given matrix produ开发者_如何学编程ct C = A*B, is there N^2 way to estimate max value in C?Or rather what is a good way to do so?How about this:[详细]
2023-02-10 01:52 分类:问答Solve this equation with fixed point iteration
How can I solve this equation x3开发者_StackOverflow社区 + x - 1 = 0 using fixed point iteration?[详细]
2023-01-28 08:52 分类:问答