Affiliation:
1. Daghestan State Technical University
2. LLC “RN-BashNIPIneft”
Abstract
Objective. The purpose of this article is to research and develop interpolators in the C++ programming language, including linear, quadratic and cubic interpolators, as well as a one-dimensional RBF interpolator. The main tasks are the use of the GSL library, the Lagrange interpolation polynomial, OpenMP, and comparative analysis with the SciPy library. The experiments are aimed at evaluating the effectiveness and applicability of various interpolation methods. Method. The work uses the GSL and Eigen libraries to implement interpolators and optimize computational processes. Linear, quadratic, and cubic interpolators are used to compare performance, and a one-dimensional RBF interpolator is being developed. The Lagrange interpolation method and parallel computing using OpenMP and SIMD are also used to improve efficiency. Result. The results of the research include the successful development and implementation of various interpolation methods in C++. Particular attention is paid to the analysis of the performance and accuracy of each method. Through a comparative analysis with the SciPy library, the authors identify the advantages and disadvantages of various interpolators. The main result is the practical applicability of these methods in the context of specific interpolation problems. Conclusion. The study made it possible to make sure that the implementation of interpolators in the C ++ language has some significant advantages compared to using the SciPy library. In particular, C++ allows for more precise and faster control over calculations, which is especially important in tasks related to numerical interpolation methods. The GSL and Eigen libraries provide powerful tools for optimization and high performance computing, which allows you to achieve high efficiency when implementing interpolation in C ++.
Publisher
FSB Educational Establishment of Higher Education Daghestan State Technical University
Reference26 articles.
1. Stroustrup B. The C++ Programming Language, 4th Edition. Addison-Wesley. 2013; 1361.
2. Polovko A.M., Butusov P.N. Interpolation. Methods and computer technologies for their implementation. - St. Petersburg: BHV-Petersburg, 2004;314. (In Russ)
3. Hardy R.L. Multiquadric equations of topography and other irregular surfaces. Journal of Geophysical Research. 76 (8): 1905–1915.
4. Galassi M. GNU Scientific Library: Reference Manual, 3rd Edition. Network Theory, 2009; 573.
5. Antonov A.S. Parallel programming using OpenMP technology . Moscow: MSU, 2009; 728. (In Russ)