ndarray并非C++原生概念,而是numpy概念。
不过在C++中,可以通过*Boost.Python(NumPy)*创建ndarray类型。
ndarray is a template library that provides multidimensional array obejcts in C++, with an interface and features designed to mimic the Python ‘numpy’ packages as much as possible.