Home
last modified time | relevance | path

Searched refs:owndata (Results 1 – 8 of 8) sorted by relevance

/external/python/pybind11/tests/
Dtest_eigen.py259 assert not a_get1.flags.owndata and a_get1.flags.writeable
262 assert not a_get2.flags.owndata and a_get2.flags.writeable
266 assert not a_view1.flags.owndata and not a_view1.flags.writeable
270 assert not a_view2.flags.owndata and not a_view2.flags.writeable
275 assert a_copy1.flags.owndata and a_copy1.flags.writeable
280 assert a_copy2.flags.owndata and a_copy2.flags.writeable
286 assert not a_ref1.flags.owndata and a_ref1.flags.writeable
289 assert not a_ref2.flags.owndata and not a_ref2.flags.writeable
293 assert not a_ref3.flags.owndata and a_ref3.flags.writeable
296 assert not a_ref4.flags.owndata and not a_ref4.flags.writeable
[all …]
Dtest_numpy_array.py49 assert m.owndata(a)
70 assert not m.owndata(a)
214 assert not b.flags.owndata
221 assert a1.flags.owndata and a1.base is None
226 assert a1.flags.owndata and a1.base is None
Dtest_numpy_array.cpp169 sm.def("owndata", [](const arr& a) { return a.owndata(); }); in TEST_SUBMODULE()
/external/python/pybind11/docs/advanced/cast/
Deigen.rst79 data is performed. The numpy array will have ``array.flags.owndata`` set to
115 m = a.get_matrix() # flags.writeable = True, flags.owndata = False
116 v = a.view_matrix() # flags.writeable = False, flags.owndata = False
117 c = a.copy_matrix() # flags.writeable = True, flags.owndata = True
/external/marisa-trie/bindings/python/
Dmarisa-swig_wrap.cxx342 int owndata; /* flag if the structure owns the clientdata */ member
550 ti->owndata = 1; in SWIG_TypeNewClientData()
2502 if (ty->owndata) { in SWIG_Python_DestroyModule()
/external/marisa-trie/bindings/perl/
Dmarisa-swig_wrap.cxx338 int owndata; /* flag if the structure owns the clientdata */ member
546 ti->owndata = 1; in SWIG_TypeNewClientData()
/external/marisa-trie/bindings/ruby/
Dmarisa-swig_wrap.cxx446 int owndata; /* flag if the structure owns the clientdata */ member
654 ti->owndata = 1; in SWIG_TypeNewClientData()
/external/python/pybind11/include/pybind11/
Dnumpy.h698 bool owndata() const {