Digit-Recurrence Algorithm for Computing Euclidean Norm of a 3-D Vector
نویسندگان
چکیده
A digit-recurrence algorithm for computing the Euclidean norm of a 3-dimensional vector is proposed. Starting from the vector component with the highest order of magnitude as the initial value of partial result, correcting-digits produced by the recurrence are added to it step by step. Partial products of the squares of the other two components are added to the residual, step by step. The addition/subtractions in the recurrence are performed without carry/borrow propagation by the use of a redundant representation of the residual. An extension of the on-they conversion algorithm is used for updating the partial result. Di erent speci c versions of the algorithm are possible, depending on the radix, the redundancy factor of the correcting-digit set, the type of representation of the residual, and the correcting-digit selection function.
منابع مشابه
A VLSI Algorithm for Computing the Euclidean Norm of a 3D Vector
ÐA digit-recurrence algorithm for computing the Euclidean norm of a three-dimensional (3D) vector which often appears in 3D computer graphics is proposed. One of the three squarings required for the usual computation is removed and the other two squarings, as well as the two additions, are overlapped with the square rooting. The Euclidean norm is computed by iteration of carry-propagation-free ...
متن کاملEfficient Approximation Algorithms for Point-set Diameter in Higher Dimensions
We study the problem of computing the diameter of a set of $n$ points in $d$-dimensional Euclidean space for a fixed dimension $d$, and propose a new $(1+varepsilon)$-approximation algorithm with $O(n+ 1/varepsilon^{d-1})$ time and $O(n)$ space, where $0 < varepsilonleqslant 1$. We also show that the proposed algorithm can be modified to a $(1+O(varepsilon))$-approximation algorithm with $O(n+...
متن کاملFast Private Norm Estimation and Heavy Hitters
We consider the problems of computing the Euclidean norm of the difference of two vectors and, as an application, computing the large components (Heavy Hitters) in the difference. We provide protocols that are approximate but private in the semi-honest model and efficient in terms of time and communication in the vector length N . We provide the following, which can serve as building blocks to ...
متن کاملA fast algorithm for computing minimal-norm solutions to underdetermined systems of linear equations
We introduce a randomized algorithm for computing the minimal-norm solution to an underdetermined system of linear equations. Given an arbitrary full-rank matrix Am×n with m < n, any vector bm×1, and any positive real number ε less than 1, the procedure computes a vector xn×1 approximating to relative precision ε or better the vector pn×1 of minimal Euclidean norm satisfying Am×n pn×1 = bm×1. T...
متن کاملیادداشتی بر دوگانی AdS/CFT
We study duality of field theories in (d+1) dimensional flat Euclidean space and (d+1) dimensional Euclidean AdS space for both scalar the and vector fields. In the case of the scalar theory, the injective map between conformally coupled massless scalars in two spaces is reviewed. It is shown that for vector fields the injective map exists only in four dimensions. Since Euclidean AdS space is e...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999