求和问题再探--更稳健的计算
Summation Problem Revisited -- More Robust Computation
摘要:
数值数据处理是计算机技术应用各个领域的一项关键任务。然而,由于使用浮点表示,即使是简单的值求和也不精确。本文提出了一种便于中、大型数据集计算的数值求和的实用算法。该算法简单,易于实现。它的计算复杂性为O(N),而精确符号求和算法(ESSA)的运行时间复杂性为O(N^2)。该算法特别适用于指数数据差异较大以及许多小值与较大值相加的情况
英文摘要:
Numerical data processing is a key task across different fields of computer technology use. However, even simple summation of values is not precise due to the floating point representation use. This paper presents a practical algorithm for summation of values convenient for medium and large data sets. The proposed algorithm is simple, easy to implement. Its computational complexity is O(N) in the contrary of the Exact Sign Summation Algorithm (ESSA) approach with O(N^2) run-time complexity. The proposed algorithm is especially convenient for cases when exponent data differ significantly and many small values are summed with higher values
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。