首页 | 本学科首页   官方微博 | 高级检索  
     


The design of the Boost interval arithmetic library
Authors:Hervé Brönnimann  Guillaume Melquiond  Sylvain Pion
Affiliation:1. CIS, Polytechnic University, Six Metrotech, Brooklyn, NY 11201, USA;2. École Normale Supérieure de Lyon, 46 allée d’Italie, 69364 Lyon cedex 07, France;3. INRIA, BP 93, 06902 Sophia Antipolis cedex, France
Abstract:We present the design of the Boost interval arithmetic library, a C++++ library designed to handle mathematical intervals efficiently and in a generic way. Interval computations are an essential tool for reliable computing. Increasingly a number of mathematical proofs have relied on global optimization problems solved using branch-and-bound algorithms with interval computations; it is therefore extremely important to have a mathematically correct implementation of interval arithmetic. Various implementations exist with diverse semantics. Our design is unique in that it uses policies to specify three independent variable behaviors: rounding, checking, and comparisons. As a result, with the proper policies, our interval library is able to emulate almost any of the specialized libraries available for interval arithmetic, without any loss of performance nor sacrificing the ease of use. This library is openly available at www.boost.org.
Keywords:Interval arithmetic  Software library  Generic programming  Policy-based design  Robust computations  Floating-point filter
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号