NumCpp
lastmod 2026-11-10created 2019-03-042 edits
NumCpp is a header-only template library that ports the multidimensional array and numerical computing API of Python's NumPy to C++. Its core class NdArray corresponds to NumPy's ndarray, and it provides slicing, broadcasting, linear algebra, random numbers, statistical functions, and more under similar names, making it easy to port numerical code written in Python to C++. It also optionally supports conversion to and from Eigen and OpenCV.
C++ implementation of the Python Numpy library