Classes | Functions
boost::numpy::detail Namespace Reference

Classes

struct  add_pointer_meta
struct  array_template_invoker_wrapper_1
struct  array_template_invoker_wrapper_1< DimSequence, boost::reference_wrapper< Function > >
struct  array_template_invoker_wrapper_2
struct  builtin_dtype< bool, true >
struct  builtin_dtype< std::complex< T >, false >
struct  builtin_dtype< T, false >
struct  builtin_dtype< T, true >
struct  dtype_template_invoker
struct  dtype_template_invoker< boost::reference_wrapper< Function > >
struct  dtype_template_match_found
struct  nd_template_invoker
struct  nd_template_invoker< boost::reference_wrapper< Function > >
struct  nd_template_match_found

Functions

int const bitflag_to_numpy (ndarray::bitflag f)
 BUILTIN_COMPLEX_DTYPE (64)
 BUILTIN_COMPLEX_DTYPE (128)
 BUILTIN_FLOAT_DTYPE (32)
 BUILTIN_FLOAT_DTYPE (64)
 BUILTIN_INT_DTYPE (8)
 BUILTIN_INT_DTYPE (16)
 BUILTIN_INT_DTYPE (32)
 BUILTIN_INT_DTYPE (64)
ndarray 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)
template<typename Container >
ndarray from_data_impl (void *data, dtype const &dt, Container shape, Container strides, python::object const &owner, bool writeable, typename boost::enable_if< boost::is_integral< typename Container::value_type > >::type *enabled=NULL)
ndarray from_data_impl (void *data, dtype const &dt, python::object const &shape, python::object const &strides, python::object const &owner, bool writeable)
template<int bits>
dtype get_complex_dtype ()
template<int bits>
dtype get_float_dtype ()
template<int bits, bool isUnsigned>
dtype get_int_dtype ()
python::object get_matrix_type ()
PyArray_Descr * incref_dtype (dtype const &dt)
bool is_aligned (std::vector< Py_intptr_t > const &strides, int itemsize)
bool is_c_contiguous (std::vector< Py_intptr_t > const &shape, std::vector< Py_intptr_t > const &strides, int itemsize)
bool is_f_contiguous (std::vector< Py_intptr_t > const &shape, std::vector< Py_intptr_t > const &strides, int itemsize)
ndarray::bitflag numpy_to_bitflag (int const f)

Function Documentation

int const boost::numpy::detail::bitflag_to_numpy ( ndarray::bitflag  f)

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

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 
)

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

template<typename Container >
ndarray boost::numpy::detail::from_data_impl ( void *  data,
dtype const &  dt,
Container  shape,
Container  strides,
python::object const &  owner,
bool  writeable,
typename boost::enable_if< boost::is_integral< typename Container::value_type > >::type *  enabled = NULL 
)

Definition at line 173 of file ndarray.hpp.

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 
)

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

Definition at line 52 of file src/dtype.cpp.

Definition at line 51 of file src/dtype.cpp.

template<int bits, bool isUnsigned>
dtype boost::numpy::detail::get_int_dtype ( )

Definition at line 48 of file src/dtype.cpp.

python::object boost::numpy::detail::get_matrix_type ( ) [inline]

Definition at line 16 of file matrix.cpp.

PyArray_Descr* boost::numpy::detail::incref_dtype ( dtype const &  dt) [inline]

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

bool boost::numpy::detail::is_aligned ( std::vector< Py_intptr_t > const &  strides,
int  itemsize 
)

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

bool boost::numpy::detail::is_c_contiguous ( std::vector< Py_intptr_t > const &  shape,
std::vector< Py_intptr_t > const &  strides,
int  itemsize 
)

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

bool boost::numpy::detail::is_f_contiguous ( std::vector< Py_intptr_t > const &  shape,
std::vector< Py_intptr_t > const &  strides,
int  itemsize 
)

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

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



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