High-performance C++ multi-dimensional arrays

前端 未结 8 1023
天涯浪人
天涯浪人 2021-02-04 09:29

I am looking for advice regarding high performance multi-dimensional array libraries/classes for C++. What I really need is:

  • the ability to dynamically allocate

8条回答
  •  暖寄归人
    2021-02-04 09:36

    With the caveat that this is shameless self-promotion,

    https://github.com/ndarray/ndarray

    may be worth looking into.

    While it doesn't provide optimized mathematical operators, it does provide an interface to Eigen for that. Where it really stands out is in providing interoperability with Python/NumPy through SWIG or Boost.Python.

提交回复
热议问题