A $N$-Body Solver for Square Root Iteration
نویسندگان
چکیده
We develop the Sparse Approximate Matrix Multiply (SpAMM) n-body solver for first order Newton Schulz iteration of the matrix square root and inverse square root. The solver performs recursive two-sided metric queries on a modified Cauchy-Schwarz criterion (octree-occlusion-culling in the ijkcube), yielding a bounded relative error in the matrix-matrix product and reduced complexity for problems with a structured metric decay. This complexity reduction corresponds to the hierarchical resolution of product sub-volumes, which may be well localized. The main contributions of this paper are a new, bounded form of the SpAMM product and demonstration of a new, algebraic locality that develops under contractive identity iteration, involving the deflation of volumes onto plane diagonals of the resolvent, and a stronger bound on the SpAMM product. Also, we carry out a first order Frëchet analyses for single and dual channel instances of the square root iteration, and look at bifurcations due to ill-conditioning and a too-aggressive SpAMM approximation. Then, we show that extreme SpAMM approximation and contractive identity iteration can be achieved for ill-conditioned systems through regularization, and we demonstrate the potential for acceleration with a scoping, product representation of the inverse factor.
منابع مشابه
A N-Body Solver for Free Mesh Interpolation
Factorization of the Gaussian RBF kernel is developed for free-mesh interpolation in the flat, polynomial limit corresponding to Taylor expansion and the Vandermonde basis of geometric moments. With this spectral approximation, a top-down octree-scoping of an interpolant is found by recursively decomposing the residual, similar to the work of Driscoll and Heryudono (2007), except that in the cu...
متن کاملSIGPLAN ACM Garbage In / Garbage Out March Möbius
Algorithms for extracting the roots of polynomials of the 2nd, 3rd and 4th degree are usually presented as cookbook recipes, with no insight about how such a recipe works or how it might have been discovered. This note shows how a clever high school student could use transformations (translation, scaling, rotation, inversion) of the complex plane to discover root-extraction methods for these po...
متن کاملDecimal SRT Square Root: Algorithm and Architecture
Given the popularity of decimal arithmetic, hardware implementation of decimal operations has been a hot topic of research in recent decades. Besides the four basic operations, the square root can be implemented as an instruction directly in the hardware, which improves the performance of the decimal floating-point unit in the processors. Hardware implementation of decimal square rooters is usu...
متن کاملHigh-Speed Double-Precision Computation of Reciprocal, Division, Square Root and Inverse Square Root
A new method for the high-speed computation of double-precision floating-point reciprocal, division, square root, and inverse square root operations is presented in this paper. This method employs a second-degree minimax polynomial approximation to obtain an accurate initial estimate of the reciprocal and the inverse square root values, and then performs a modified Goldschmidt iteration. The hi...
متن کاملImplementation of the reciprocal square root in MPFR
We describe the implementation of the reciprocal square root — also called inverse square root — as a native function in the MPFR library. The difficulty is to implement Newton’s iteration for the reciprocal square root on top’s of GNU MP’s mpn layer, while guaranteeing a rigorous 1/2 ulp bound on the roundoff error. The reciprocal square root is an important function in 3D graphics, for the no...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1508.05856 شماره
صفحات -
تاریخ انتشار 2015