]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/python/include/boost/python/numpy.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / python / include / boost / python / numpy.hpp
CommitLineData
7c673cae
FG
1// Copyright Jim Bosch 2010-2012.
2// Copyright Stefan Seefeld 2016.
3// Distributed under the Boost Software License, Version 1.0.
4// (See accompanying file LICENSE_1_0.txt or copy at
5// http://www.boost.org/LICENSE_1_0.txt)
6
7#ifndef boost_python_numpy_hpp_
8#define boost_python_numpy_hpp_
9
10#include <boost/python/numpy/dtype.hpp>
11#include <boost/python/numpy/ndarray.hpp>
12#include <boost/python/numpy/scalars.hpp>
13#include <boost/python/numpy/matrix.hpp>
14#include <boost/python/numpy/ufunc.hpp>
15#include <boost/python/numpy/invoke_matching.hpp>
16
17namespace boost { namespace python { namespace numpy {
18
19/**
20 * @brief Initialize the Numpy C-API
21 *
22 * This must be called before using anything in boost.numpy;
23 * It should probably be the first line inside BOOST_PYTHON_MODULE.
24 *
25 * @internal This just calls the Numpy C-API functions "import_array()"
26 * and "import_ufunc()", and then calls
27 * dtype::register_scalar_converters().
28 */
29void initialize(bool register_scalar_converters=true);
30
31}}} // namespace boost::python::numpy
32
33#endif