Namespaces | Defines | Functions
ndarray.cpp File Reference
#include <boost/numpy/internal.hpp>
#include <boost/scoped_array.hpp>
Include dependency graph for src/ndarray.cpp:

Go to the source code of this file.

Namespaces

namespace  boost
namespace  boost::numpy
namespace  boost::numpy::detail
namespace  boost::python
namespace  boost::python::converter

Defines

#define BOOST_NUMPY_INTERNAL

Functions

ndarray boost::numpy::array (python::object const &obj)
 Construct a new array from an arbitrary Python sequence.
ndarray boost::numpy::array (python::object const &obj, dtype const &dt)
int const boost::numpy::detail::bitflag_to_numpy (ndarray::bitflag f)
ndarray boost::numpy::empty (python::tuple const &shape, dtype const &dt)
 Construct a new array with the given shape and data type, with data left uninitialized.
ndarray boost::numpy::empty (int nd, Py_intptr_t const *shape, dtype const &dt)
ndarray boost::numpy::detail::from_data_impl (void *data, dtype const &dt, std::vector< Py_intptr_t > const &shape, std::vector< Py_intptr_t > const &strides, python::object const &owner, bool writeable)
ndarray boost::numpy::detail::from_data_impl (void *data, dtype const &dt, python::object const &shape, python::object const &strides, python::object const &owner, bool writeable)
ndarray boost::numpy::from_object (python::object const &obj, dtype const &dt, int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE)
 Transform an arbitrary object into a numpy array with the given requirements.
ndarray boost::numpy::from_object (python::object const &obj, int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE)
PyArray_Descr * boost::numpy::detail::incref_dtype (dtype const &dt)
bool boost::numpy::detail::is_aligned (std::vector< Py_intptr_t > const &strides, int itemsize)
bool boost::numpy::detail::is_c_contiguous (std::vector< Py_intptr_t > const &shape, std::vector< Py_intptr_t > const &strides, int itemsize)
bool boost::numpy::detail::is_f_contiguous (std::vector< Py_intptr_t > const &shape, std::vector< Py_intptr_t > const &strides, int itemsize)
ndarray::bitflag boost::numpy::detail::numpy_to_bitflag (int const f)
ndarray boost::numpy::zeros (python::tuple const &shape, dtype const &dt)
 Construct a new array with the given shape and data type, with data initialized to zero.
ndarray boost::numpy::zeros (int nd, Py_intptr_t const *shape, dtype const &dt)

Define Documentation

Definition at line 6 of file src/ndarray.cpp.



boost_numpy
Author(s): Jim Bosch, Ankit Daftery
autogenerated on Fri Aug 28 2015 10:10:40