30#if defined(NUMCPP_INCLUDE_BOOST_PYTHON_INTERFACE) && !defined(NUMCPP_NO_USE_BOOST)
35#include "boost/python.hpp"
36#include "boost/python/numpy.hpp"
54 template<
typename dtype>
58 if (
helper.numDimensions() > 2)
64 if (
helper.numDimensions() == 1)
100 template<
typename dtype>
127 return std::vector<T>(boost::python::stl_input_iterator<T>(
inList), boost::python::stl_input_iterator<T>());
156 template<
class Key,
class Value>
157 inline boost::python::dict
map2dict(
const std::map<Key, Value>&
inMap)
#define THROW_RUNTIME_ERROR(msg)
Definition Error.hpp:40
Definition Cartesian.hpp:40
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
Shape shape(const NdArray< dtype > &inArray) noexcept
Definition Functions/shape.hpp:42
std::uint32_t uint32
Definition Types.hpp:40