Home
last modified time | relevance | path

Searched refs:from_data (Results 1 – 16 of 16) sorted by relevance

/third_party/boost/libs/python/example/numpy/
Dndarray.cpp48 np::ndarray data_ex = np::from_data(data,dt,shape,stride,own); in main()
62 …np::ndarray mul_data_ex = np::from_data(mul_data,dt1, p::make_tuple(3,4),p::make_tuple(4,1),p::obj… in main()
65 mul_data_ex = np::from_data(mul_data,dt1, shape,stride,p::object()); in main()
Dgaussian.cpp181 return bn::from_data( in py_get_mu()
191 return bn::from_data( in py_get_sigma()
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/
Dfromdata.rst5 The from_data method makes this possible.
20 Create an array in C++ , and pass the pointer to it to the from_data method to create an ndarray::
23 np::ndarray py_array = np::from_data(arr, np::dtype::get_builtin<int>(),
55 As we can see, the changes are reflected across the ends. This happens because the from_data method…
Dndarray.rst56 The from_data function takes the data array, datatype,shape,stride and owner as arguments and retur…
58 np::ndarray data_ex1 = np::from_data(data,dt, shape,stride,own);
85 np::ndarray mul_data_ex = np::from_data(mul_data, dt1,
94 mul_data_ex = np::from_data(mul_data, dt1, shape, stride, p::object());
99 .. note:: The from_data method will throw ``error_already_set`` if the number of elements dictated …
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/
Dfromdata.rst.txt5 The from_data method makes this possible.
20 Create an array in C++ , and pass the pointer to it to the from_data method to create an ndarray::
23 np::ndarray py_array = np::from_data(arr, np::dtype::get_builtin<int>(),
55 As we can see, the changes are reflected across the ends. This happens because the from_data method…
Dndarray.rst.txt56 The from_data function takes the data array, datatype,shape,stride and owner as arguments and retur…
58 np::ndarray data_ex1 = np::from_data(data,dt, shape,stride,own);
85 np::ndarray mul_data_ex = np::from_data(mul_data, dt1,
94 mul_data_ex = np::from_data(mul_data, dt1, shape, stride, p::object());
99 .. note:: The from_data method will throw ``error_already_set`` if the number of elements dictated …
Dufunc.rst.txt62 np::ndarray demo_array = np::from_data(arr, np::dtype::get_builtin<int>(),
/third_party/boost/libs/python/doc/numpy/reference/
Dndarray.rst72 …ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::object co…
74 …ndarray from_data(void const * data, dtype const & dt, Container shape, Container strides, object …
175 …inline ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::ob…
373 np::ndarray data_ex = np::from_data(data,dt,shape,stride,own);
380 …np::ndarray mul_data_ex = np::from_data(mul_data,dt1, p::make_tuple(3,4),p::make_tuple(4,1),p::obj…
381 mul_data_ex = np::from_data(mul_data,dt1, shape,stride,p::object());
/third_party/boost/libs/python/doc/html/numpy/_sources/reference/
Dndarray.rst.txt72 …ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::object co…
74 …ndarray from_data(void const * data, dtype const & dt, Container shape, Container strides, object …
175 …inline ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::ob…
373 np::ndarray data_ex = np::from_data(data,dt,shape,stride,own);
380 …np::ndarray mul_data_ex = np::from_data(mul_data,dt1, p::make_tuple(3,4),p::make_tuple(4,1),p::obj…
381 mul_data_ex = np::from_data(mul_data,dt1, shape,stride,p::object());
/third_party/boost/boost/python/numpy/
Dndarray.hpp209 inline ndarray from_data(void * data, in from_data() function
234 inline ndarray from_data(void const * data, in from_data() function
/third_party/boost/libs/python/doc/html/numpy/
Dsearchindex.js1 …],flag:5,follow:5,for_custom_dtyp:[2,7],form:5,format:7,from:[2,5,7,10],from_data:[5,8,10,12],from… property
/third_party/python/Tools/c-analyzer/c_parser/
Dinfo.py1153 def from_data(cls, raw, index): member in Member
1193 return [Member.from_data(v, i) for i, v in enumerate(data)], None
/third_party/python/Objects/
Dunicodeobject.c1572 const void *from_data; in _copy_characters() local
1590 from_data = PyUnicode_DATA(from); in _copy_characters()
1602 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
1615 max_char = ucs1lib_find_max_char(from_data, in _copy_characters()
1616 (const Py_UCS1*)from_data + how_many); in _copy_characters()
1621 (const char*)from_data + from_kind * from_start, in _copy_characters()
1698 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()