For a C++ library for mathematical computations, the strongest matches are openmathlib/openblas (OpenBLAS is a high-performance linear algebra library that provides), boostorg/boost (Boost provides a comprehensive suite of high-performance, template-based C++) and xtensor-stack/xtensor (This library provides a high-performance, template-based framework for multidimensional). cgal/cgal and libigl/libigl round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
我们为您精选了匹配 “best c++ math libraries” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。
OpenBLAS is a high-performance implementation of the Basic Linear Algebra Subprograms standard designed for numerical computing and matrix operations. It serves as a hardware-accelerated numerical library and optimized math kernel library, providing a computational engine for large-scale matrix multiplication and vector operations. The library distinguishes itself through the use of hand-tuned assembly kernels and SIMD instruction mapping, such as AVX and SVE, to maximize floating-point performance on specific CPU architectures. It features a multi-threaded framework that manages parallel exe
OpenBLAS is a high-performance linear algebra library that provides the foundational BLAS and LAPACK routines required for numerical computing, though it is implemented in C rather than using a template-based C++ design.
Boost is a collection of portable, high-performance source libraries that extend the C++ standard library. It provides a wide range of reusable components, data structures, and algorithms designed to add capabilities to the base language across different platforms. The project is distinguished by its extensive focus on compile-time template metaprogramming and generic programming. It implements advanced architectural patterns such as policy-based design, concept-based type validation, and the use of SFINAE for conditional template resolution to minimize runtime overhead. The library covers a
Boost provides a comprehensive suite of high-performance, template-based C++ libraries that include specialized modules for linear algebra and numerical computation, making it a foundational resource for these tasks.
xtensor is a C++ multidimensional array library for numerical computing that provides N-dimensional containers with an interface mirroring the NumPy API. It utilizes a lazy evaluation expression engine to defer numerical computations until assignment, which minimizes memory allocations and intermediate copies. The library features a foreign memory array adaptor that allows it to wrap external buffers, such as NumPy arrays, to perform numerical operations in-place without duplicating data. It further optimizes performance through lazy broadcasting and a system that manages the lifetime of temp
This library provides a high-performance, template-based framework for multidimensional arrays and numerical computing that mirrors the NumPy API, making it a strong choice for linear algebra and array-based mathematical tasks.
CGAL is a software library that provides a comprehensive collection of computational geometry algorithms and data structures. It is built around a geometry kernel that defines fundamental geometric primitives and operations, enabling the construction of complex geometric objects and the computation of geometric predicates with exact arithmetic for reliable results. The library covers a wide range of geometric computation capabilities, including the construction of convex hulls, triangulations of point sets, and the generation of Voronoi diagrams. It also supports the processing of polygonal m
CGAL is a specialized C++ library focused on computational geometry and spatial data structures, providing robust template-based primitives and exact arithmetic that serve as a powerful tool for complex geometric mathematical computation.
libigl is a C++ geometry processing library used for analyzing and manipulating 3D triangle and tetrahedral meshes. It functions as a numerical linear algebra suite and a mesh manipulation framework, integrating a geometric deformation engine to implement rigid and polyharmonic transformations. The project is distinguished by its header-only library design and its implementation of specialized deformation techniques, including rigid-as-possible and polyharmonic shape deformation. It also provides a visualization tool for rendering surfaces and scalar fields with interactive scene controls and
This is a specialized geometry processing library that relies heavily on numerical linear algebra and matrix operations, making it a suitable tool for high-performance mathematical computation in 3D contexts.