Home
last modified time | relevance | path

Searched refs:get_builtin (Results 1 – 25 of 31) sorted by relevance

12

/third_party/boost/libs/python/src/numpy/
Ddtype.cpp113 ((a == dtype::get_builtin<long>() || a == dtype::get_builtin<int>()) && in equivalent()
114 (b == dtype::get_builtin<long>() || b == dtype::get_builtin<int>()) || in equivalent()
115 (a == dtype::get_builtin<unsigned int>() || a == dtype::get_builtin<unsigned long>()) && in equivalent()
116 (b == dtype::get_builtin<unsigned int>() || b == dtype::get_builtin<unsigned long>()))) { in equivalent()
150 return reinterpret_cast<PyArray_Descr*>(dtype::get_builtin<T>().ptr())->typeobj; in get_pytype()
162 if (equivalent(dt, dtype::get_builtin<T>())) in convertible()
/third_party/boost/boost/python/numpy/
Dufunc.hpp106 dtype in_dtype = dtype::get_builtin<TArgument>(); in call()
107 dtype out_dtype = dtype::get_builtin<TResult>(); in call()
168 dtype in1_dtype = dtype::get_builtin<TArgument1>(); in call()
169 dtype in2_dtype = dtype::get_builtin<TArgument2>(); in call()
170 dtype out_dtype = dtype::get_builtin<TResult>(); in call()
Ddtype.hpp47 template <typename T> static dtype get_builtin();
109 inline dtype dtype::get_builtin() { return detail::builtin_dtype<T>::get(); } in get_builtin() function in boost::python::numpy::dtype
Dinvoke_matching.hpp42 if (dtype::get_builtin<T>() == m_dtype) in operator ()()
64 if (dtype::get_builtin<T>() == m_dtype) in operator ()()
/third_party/boost/libs/python/doc/numpy/reference/
Ddtype.rst35 template <typename T> static dtype get_builtin();
65 template <typename T> static dtype get_builtin();
89 np::dtype dtype = np::dtype::get_builtin<double>();
/third_party/boost/libs/python/doc/html/numpy/_sources/reference/
Ddtype.rst.txt35 template <typename T> static dtype get_builtin();
65 template <typename T> static dtype get_builtin();
89 np::dtype dtype = np::dtype::get_builtin<double>();
/third_party/boost/libs/python/example/numpy/
Dndarray.cpp37 np::dtype dt = np::dtype::get_builtin<int>(); in main()
60 np::dtype dt1 = np::dtype::get_builtin<uint8_t>(); in main()
Dwrap.cpp52 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill1()
83 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill2()
Dgaussian.cpp183 bn::dtype::get_builtin<double>(), in py_get_mu()
193 bn::dtype::get_builtin<double>(), in py_get_sigma()
257 … bn::from_object(obj, bn::dtype::get_builtin<double>(), N, N, bn::ndarray::V_CONTIGUOUS) in convertible()
Dsimple.cpp21 np::dtype dtype = np::dtype::get_builtin<float>(); in main()
Ddtype.cpp30 np::dtype dtype = np::dtype::get_builtin<double>(); in main()
Dfromdata.cpp27 …np::ndarray py_array = np::from_data(arr, np::dtype::get_builtin<int>() , p::make_tuple(4), p::mak… in main()
Dufunc.cpp57 …np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>() , p::make_tuple(4), p::m… in main()
/third_party/boost/libs/python/doc/numpy/tutorial/
Ddtype.rst19 Next, we create the shape and dtype. We use the get_builtin method to get the numpy dtype correspon…
23 np::dtype dtype = np::dtype::get_builtin<double>();
Dndarray.rst35 np::dtype dt = np::dtype::get_builtin<int>();
79 np::dtype dt1 = np::dtype::get_builtin<uint8_t>();
Dsimple.rst25 np::dtype dtype = np::dtype::get_builtin<float>();
Dfromdata.rst23 np::ndarray py_array = np::from_data(arr, np::dtype::get_builtin<int>(),
Dufunc.rst62 np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>(),
/third_party/boost/libs/python/doc/html/numpy/_sources/tutorial/
Ddtype.rst.txt19 Next, we create the shape and dtype. We use the get_builtin method to get the numpy dtype correspon…
23 np::dtype dtype = np::dtype::get_builtin<double>();
Dndarray.rst.txt35 np::dtype dt = np::dtype::get_builtin<int>();
79 np::dtype dt1 = np::dtype::get_builtin<uint8_t>();
Dsimple.rst.txt25 np::dtype dtype = np::dtype::get_builtin<float>();
Dfromdata.rst.txt23 np::ndarray py_array = np::from_data(arr, np::dtype::get_builtin<int>(),
Dufunc.rst.txt62 np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>(),
/third_party/boost/libs/python/test/numpy/
Ddtype.cpp15 return np::dtype::get_builtin<T>(); in accept()
/third_party/boost/libs/python/doc/html/numpy/
Dsearchindex.js1 …object:5,functor:[1,6],gener:[2,4,5,10,12],get:[2,7,8,10,11],get_bas:5,get_builtin:[2,5,7,8,10,11,… property

12