#include <boost/numpy.hpp>
Go to the source code of this file.
Functions | |
np::ndarray | array1 (p::object obj) |
np::ndarray | array2 (p::object obj, np::dtype dt) |
BOOST_PYTHON_MODULE (ndarray_mod) | |
np::ndarray | c_empty (p::tuple shape, np::dtype dt) |
np::ndarray | empty1 (p::tuple shape, np::dtype dt) |
np::ndarray | reshape (np::ndarray arr, p::tuple tup) |
np::ndarray | squeeze (np::ndarray arr) |
np::ndarray | transpose (np::ndarray arr) |
np::ndarray | zeros (p::tuple shape, np::dtype dt) |
np::ndarray array1 | ( | p::object | obj | ) |
Definition at line 13 of file ndarray_mod.cpp.
np::ndarray array2 | ( | p::object | obj, |
np::dtype | dt | ||
) |
Definition at line 12 of file ndarray_mod.cpp.
BOOST_PYTHON_MODULE | ( | ndarray_mod | ) |
Definition at line 33 of file ndarray_mod.cpp.
np::ndarray c_empty | ( | p::tuple | shape, |
np::dtype | dt | ||
) |
Definition at line 16 of file ndarray_mod.cpp.
np::ndarray empty1 | ( | p::tuple | shape, |
np::dtype | dt | ||
) |
Definition at line 14 of file ndarray_mod.cpp.
np::ndarray reshape | ( | np::ndarray | arr, |
p::tuple | tup | ||
) |
Definition at line 31 of file ndarray_mod.cpp.
np::ndarray squeeze | ( | np::ndarray | arr | ) |
Definition at line 30 of file ndarray_mod.cpp.
np::ndarray transpose | ( | np::ndarray | arr | ) |
Definition at line 29 of file ndarray_mod.cpp.
np::ndarray zeros | ( | p::tuple | shape, |
np::dtype | dt | ||
) |
Definition at line 11 of file ndarray_mod.cpp.