共查询到19条相似文献,搜索用时 93 毫秒
1.
2.
浮点开方运算单元的电路设计 总被引:2,自引:0,他引:2
文章提出了一种基于逐位循环开方算法,"四位一开方"的浮点开方运算单元的电路设计方案,使限制周期时间的循环迭代部分的门级数降低到14级。按14级门延时为周期时间计算,完成一个IEEE单、双精度浮点数的开方运算分别需要15和29周期。同时,文章对目前开方运算所采用的两类主要的算法-逐位循环开方算法和牛顿-莱福森迭代开方算法进行了描述,其中包括数的冗余表示等内容。 相似文献
3.
新型的快速高准确度开方算法及程序设计 总被引:4,自引:1,他引:3
介绍一种新型的快速高准确度开方算法,特别适用于需要用计算机进行a2+b2型式开方运算场合。算法巧妙地将开方变量由两个减少为一个,将变量变化区间由整个实数轴缩小为[0,1]区间,进而采用查表与插值相结合的方法,实现了高准确度、快速开方运算。在单片机80c196kb上,利用PL/M96语言编程进行了运算,效果良好。 相似文献
4.
焦永 《数字社区&智能家居》2013,(9):2242-2245,2263
单精度浮点倒数开方运算在GPU设计中经常会用到。实现这种运算一般有两种方法,迭代法和查表法。迭代法要根据精度要求确定迭代次数,只需要很小的存储器保存迭代初值,但需要的运算器数量较多。查表法根据输入的数据直接从ROM中查表得到结果,需要占用的存储资源比较多。该文提出了一种间接查表法实现的浮点倒数开方运算实现方法,将迭代法和直接查表法的优点结合起来。经过理论推导和硬件仿真验证,该算法能够满足单精度浮点数的运算精度。 相似文献
5.
6.
介绍了两种微控制器快速开方算法:改进牛顿-拉夫逊算法和模拟手算开方算法。前者是以牛顿-拉夫逊算法为基础的一种改进算法;后者是模拟手算开方过程实现开方的微控制器算法,这两种算法都具有较高的开方速度和计算精度。笔者以32位数开方为例,详细介绍了这两种算法用汇编语言实现的过程,并给出算法实现的流程图,最后根据两种算法的特点和实际运算时间,总结了两种算法的优缺点。 相似文献
7.
8.
快速开方算法在微控制器上的实现 总被引:3,自引:0,他引:3
介绍了两种微控制器快速开方算法:改进牛顿-拉夫逊算法和模拟手算开方算法。前者是以牛顿-拉夫逊算法为基础的一种改进算法;后者是模拟手算开方过程实现开方的微控制器算法,这两种算法都具有较高的开方速度和计算精度。笔者以32位数开方为例,详细介绍了这两种算法用汇编语言实现的过程,并给出算法实现的流程图,最后根据两种算法的特点和实际运算时间,总结了两种算法的优缺点。 相似文献
9.
本文根据文献[1]给出的算法,用Z80汇编语言设计了二进制开方运算程序。文献[1]给出的是一种新颖的二进制开方算法,它比文献[2]给出的各种开方算法简单、直观。此算法只需进行数的大小比较和减法,无须进行修正系数,可很方便地在廉价的微处理器上用程序实现,其精度可达任意位。此算法由下式给出 相似文献
10.
在阵列信号抗干扰算法中,常常需要求解协方差矩阵的逆矩阵。Cholesky分解利用了协方差矩阵的厄米特(Hermitian)正定的特性,大大简化了矩阵求逆运算的计算量。论文介绍了Cholesky分解数学原理,并提出了一种适合FPGA实现的结构。基于浮点数的算法实现相比传统的定点数,大大提高了结果的精度。由于Cholesky分解需要涉及浮点数的开方运算,论文引入了平方根倒数法来提高开方运算的速度。通过仿真与实测,选取了最优的资源与速度的实现方案。 相似文献
11.
12.
13.
This paper introduces a new algorithm for solving the matrix Riccati equation. Differential equations for the eigenvalues and eigenvectors of the solution matrix are developed in which their derivatives are expressed in terms of the eigenvalues and eigenvectors themselves and not as functions of the solution matrix. The solution of these equations yields, then, the time behavior of the eigenvalues and eigenvectors of the solution matrix. A reconstruction of the matrix itself at any desired time is immediately obtained through a trivial similarity transformation. This algorithm serves two purposes. First, being a square root solution, it entails all the advantages of square root algorithms such as nonnegative definiteness and accuracy. Secondly, it furnishes the eigenvalues and eigenvectors of the solution matrix continuously without resorting to the complicated route of solving the equation directly and then decomposing the solution matrix into its eigenvalues and eigenvectors. The algorithm which handles cases of distinct as well as multiple eigenvalues is tested on several examples. Through these examples it is seen that the algorithm is indeed more accurate than the ordinary one. Moreover, it is seen that the algorithm works in cases where the ordinary algorithm fails and even in cases where the closed-form solution cannot be computed as a result of numerical difficulties. 相似文献
14.
15.
This paper deals with the robust root locus problem of a polytope of real polynomials. First, a simple and efficient algorithm is presented for testing if the value set of a polytopic family of polynomials includes the origin of the complex plane. This zero-inclusion test algorithm is then applied along with a pivoting procedure to construct the smallest set of regions in the complex plane which characterizes the robust root loci of a polytope of polynomials. 相似文献
16.
Gerald J. Bierman 《Automatica》1976,12(4):375-382
The discrete linear filtering problem is treated by factoring the filter error covariance matrix as P = UDUT. Efficient and stable measurement updating recursions are developed for the unit upper triangular factor, U, and the diagonal factor, D. This paper treats only the parameter estimation problem; effects of mapping, inclusion of process noise and other aspects of filtering are treated in separate publications. The algorithm is simple and, except for the fact that square roots are not involved, can be likened to square root filtering. Like the square root filter our algorithm guarantees nonnegativity of the computed covariance matrix. As is the case with the Kalman filter, our algorithm is well suited for use in real time. Attributes of our factorization update include: efficient one point at a time processing that requires little more computation than does the optimal but numerically unstable conventional Kalman measurement update algorithm; stability that compares with the square root filter and the variable dimension flexibility that is enjoyed by the square root information filter. These properties are the subject of this paper. 相似文献
17.
18.
Hao Zhang Yunlong Zhu Hanning Chen 《Soft Computing - A Fusion of Foundations, Methodologies and Applications》2014,18(3):521-537
This paper presents a general optimization model gleaned ideas from root growth behaviours in the soil. The purpose of the study is to investigate a novel biologically inspired methodology for complex system modelling and computation, particularly for optimization of higher-dimensional numerical function. For this study, a mathematical framework and architecture are designed to model root growth patterns of plant. Under this architecture, the interactions between the soil and root growth are investigated. A novel approach called “root growth algorithm” (RGA) is derived in the framework and simulation studies are undertaken to evaluate this algorithm. The simulation results show that the proposed model can reflect the root growth behaviours of plant in the soil and the numerical results also demonstrate RGA is a powerful search and optimization technique for higher-dimensional numerical function optimization. 相似文献
19.
基于定点DSP的浮点开平方算法的实现 总被引:2,自引:3,他引:2
本文提出了基于TMS320C2XX定点DSP的浮点开平方算法,给出了实现方法及程序清单,实践证明该方法具有精度高,运算速度快、程序简单等特点。 相似文献