cdocutils.nodes document q)q}q(U nametypesq}q(X example(s)qNX accessorsqNXdtypeqX constructorsq NXsynopsisq NXtable of contentsq NXndarrayq uUsubstitution_defsq }qUparse_messagesq]qcdocutils.nodes system_message q)q}q(U rawsourceqUUparentqcdocutils.nodes section q)q}q(hUU referencedqKhhUsourceqX9/root/project/libs/python/doc/numpy/reference/ndarray.rstqUtagnameqUsectionqU attributesq}q(Udupnamesq ]q!Xndarrayq"aUclassesq#]Ubackrefsq$]Uidsq%]q&Undarrayq'aUnamesq(]uUlineq)KUdocumentq*hUchildrenq+]q,(cdocutils.nodes title q-)q.}q/(hXndarrayq0hhhhhUtitleq1h}q2(h%]h$]h ]h#]h(]Urefidq3Uid2q4uh)Kh*hh+]q5cdocutils.nodes Text q6Xndarrayq7q8}q9(hh0hh.ubaubcdocutils.nodes topic q:)q;}q<(hUhhhhhUtopicq=h}q>(h ]h#]q?Ucontentsq@ah$]h%]qAUtable-of-contentsqBah(]qCh auh)Kh*hh+]qD(h-)qE}qF(hXTable of ContentsqGh}qH(h ]h#]h$]h%]h(]uhh;h+]qIh6XTable of ContentsqJqK}qL(hhGhhEubahh1ubcdocutils.nodes bullet_list qM)qN}qO(hUhh;hNhU bullet_listqPh}qQ(h ]h#]h$]h%]h(]uh)Nh*hh+]qRcdocutils.nodes list_item qS)qT}qU(hUh}qV(h ]h#]h$]h%]h(]uhhNh+]qW(cdocutils.nodes paragraph qX)qY}qZ(hUh}q[(h ]h#]h$]h%]h(]uhhTh+]q\cdocutils.nodes reference q])q^}q_(hUh}q`(h%]qah4ah$]h ]h#]h(]Urefidh'uhhYh+]qbh6Xndarrayqcqd}qe(hh0hh^ubahU referenceqfubahU paragraphqgubhM)qh}qi(hUh}qj(h ]h#]h$]h%]h(]uhhTh+]qk(hS)ql}qm(hUh}qn(h ]h#]h$]h%]h(]uhhhh+]qohX)qp}qq(hUh}qr(h ]h#]h$]h%]h(]uhhlh+]qsh])qt}qu(hUh}qv(h%]qwUid3qxah$]h ]h#]h(]UrefidUsynopsisqyuhhph+]qzh6Xsynopsisq{q|}q}(hXsynopsisq~hhtubahhfubahhgubahU list_itemqubhS)q}q(hUh}q(h ]h#]h$]h%]h(]uhhhh+]qhX)q}q(hUh}q(h ]h#]h$]h%]h(]uhhh+]qh])q}q(hUh}q(h%]qUid4qah$]h ]h#]h(]UrefidU constructorsquhhh+]qh6X constructorsqq}q(hX constructorsqhhubahhfubahhgubahhubhS)q}q(hUh}q(h ]h#]h$]h%]h(]uhhhh+]qhX)q}q(hUh}q(h ]h#]h$]h%]h(]uhhh+]qh])q}q(hUh}q(h%]qUid5qah$]h ]h#]h(]UrefidU accessorsquhhh+]qh6X accessorsqq}q(hX accessorsqhhubahhfubahhgubahhubhS)q}q(hUh}q(h ]h#]h$]h%]h(]uhhhh+]qhX)q}q(hUh}q(h ]h#]h$]h%]h(]uhhh+]qh])q}q(hUh}q(h%]qUid6qah$]h ]h#]h(]UrefidU example-squhhh+]qh6X Example(s)qq}q(hX Example(s)qhhubahhfubahhgubahhubehhPubehhubaubeubhX)q}q(hXA `ndarray`_ is an N-dimensional array which contains items of the same type and size, where N is the number of dimensions and is specified in the form of a ``shape`` tuple. Optionally, the numpy ``dtype`` for the objects contained may also be specified.qhhhhhhgh}q(h ]h#]h$]h%]h(]uh)Kh*hh+]q(h6XA qq}q(hXA hhubh])q}q(hX `ndarray`_UresolvedqKhhhhfh}q(UnameXndarrayqUrefuriqX=http://docs.scipy.org/doc/numpy/reference/arrays.ndarray.htmlqh%]h$]h ]h#]h(]uh+]qh6XndarrayqɅq}q(hUhhubaubh6X is an N-dimensional array which contains items of the same type and size, where N is the number of dimensions and is specified in the form of a q̅q}q(hX is an N-dimensional array which contains items of the same type and size, where N is the number of dimensions and is specified in the form of a hhubcdocutils.nodes literal q)q}q(hX ``shape``h}q(h ]h#]h$]h%]h(]uhhh+]qh6Xshapeqԅq}q(hUhhubahUliteralqubh6X tuple. Optionally, the numpy q؅q}q(hX tuple. Optionally, the numpy hhubh)q}q(hX ``dtype``h}q(h ]h#]h$]h%]h(]uhhh+]qh6Xdtypeq߅q}q(hUhhubahhubh6X1 for the objects contained may also be specified.q⅁q}q(hX1 for the objects contained may also be specified.hhubeubcdocutils.nodes target q)q}q(hXJ.. _ndarray: http://docs.scipy.org/doc/numpy/reference/arrays.ndarray.htmlhKhhhhhUtargetqh}q(hhh%]qUid1qah$]h ]h#]h(]qh"auh)Kh*hh+]ubh)q}q(hX_.. _dtype: http://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html#data-type-objects-dtypehhhhhhh}q(hXThttp://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html#data-type-objects-dtypeh%]qUdtypeqah$]h ]h#]h(]qhauh)K h*hh+]ubcdocutils.nodes block_quote q)q}q(hUhhhhhU block_quoteqh}q(h ]h#]h$]h%]h(]uh)Nh*hh+]qhX)q}q(hX```` contains the structures and methods necessary to move raw data between C++ and Python and create ndarrays from the datahhhhhhgh}q(h ]h#]h$]h%]h(]uh)K h+]q(h)q}q(hX$````h}q(h ]h#]h$]h%]h(]uhhh+]rh6X rr}r(hUhhubahhubh6Xx contains the structures and methods necessary to move raw data between C++ and Python and create ndarrays from the datarr}r(hXx contains the structures and methods necessary to move raw data between C++ and Python and create ndarrays from the datahhubeubaubh)r}r(hUhhhhhhh}r (h ]h#]h$]h%]r hyah(]r h auh)Kh*hh+]r (h-)r }r(hh~hjhhhh1h}r(h%]h$]h ]h#]h(]h3hxuh)Kh*hh+]rh6Xsynopsisrr}r(hh~hj ubaubcdocutils.nodes literal_block r)r}r(hXB namespace boost { namespace python { namespace numpy { class ndarray : public object { public: enum bitflag { NONE=0x0, C_CONTIGUOUS=0x1, F_CONTIGUOUS=0x2, V_CONTIGUOUS=0x1|0x2, ALIGNED=0x4, WRITEABLE=0x8, BEHAVED=0x4|0x8, CARRAY_RO=0x1|0x4, CARRAY=0x1|0x4|0x8, CARRAY_MIS=0x1|0x8, FARRAY_RO=0x2|0x4, FARRAY=0x2|0x4|0x8, FARRAY_MIS=0x2|0x8, UPDATE_ALL=0x1|0x2|0x4, VARRAY=0x1|0x2|0x8, ALL=0x1|0x2|0x4|0x8 }; ndarray view(dtype const & dt) const; ndarray astype(dtype const & dt) const; ndarray copy() const; int const shape(int n) const; int const strides(int n) const; char * get_data() const; dtype get_dtype() const; python::object get_base() const; void set_base(object const & base); Py_intptr_t const * get_shape() const; Py_intptr_t const * get_strides() const; int const get_nd() const; bitflag const get_flags() const; ndarray transpose() const; ndarray squeeze() const; ndarray reshape(tuple const & shape) const; object scalarize() const; }; ndarray zeros(tuple const & shape, dtype const & dt); ndarray zeros(int nd, Py_intptr_t const * shape, dtype const & dt); ndarray empty(tuple const & shape, dtype const & dt); ndarray empty(int nd, Py_intptr_t const * shape, dtype const & dt); ndarray array(object const & obj); ndarray array(object const & obj, dtype const & dt); template ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::object const & owner); template ndarray from_data(void const * data, dtype const & dt, Container shape, Container strides, object const & owner); ndarray from_object(object const & obj, dtype const & dt,int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, dtype const & dt,int nd, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, dtype const & dt, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, int nd_min, int nd_max,ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, int nd, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, ndarray::bitflag flags=ndarray::NONE) ndarray::bitflag operator|(ndarray::bitflag a, ndarray::bitflag b) ; ndarray::bitflag operator&(ndarray::bitflag a, ndarray::bitflag b); }hjhhhU literal_blockrh}r(U xml:spacerUpreserverh%]h$]h ]h#]h(]uh)Kh*hh+]rh6XB namespace boost { namespace python { namespace numpy { class ndarray : public object { public: enum bitflag { NONE=0x0, C_CONTIGUOUS=0x1, F_CONTIGUOUS=0x2, V_CONTIGUOUS=0x1|0x2, ALIGNED=0x4, WRITEABLE=0x8, BEHAVED=0x4|0x8, CARRAY_RO=0x1|0x4, CARRAY=0x1|0x4|0x8, CARRAY_MIS=0x1|0x8, FARRAY_RO=0x2|0x4, FARRAY=0x2|0x4|0x8, FARRAY_MIS=0x2|0x8, UPDATE_ALL=0x1|0x2|0x4, VARRAY=0x1|0x2|0x8, ALL=0x1|0x2|0x4|0x8 }; ndarray view(dtype const & dt) const; ndarray astype(dtype const & dt) const; ndarray copy() const; int const shape(int n) const; int const strides(int n) const; char * get_data() const; dtype get_dtype() const; python::object get_base() const; void set_base(object const & base); Py_intptr_t const * get_shape() const; Py_intptr_t const * get_strides() const; int const get_nd() const; bitflag const get_flags() const; ndarray transpose() const; ndarray squeeze() const; ndarray reshape(tuple const & shape) const; object scalarize() const; }; ndarray zeros(tuple const & shape, dtype const & dt); ndarray zeros(int nd, Py_intptr_t const * shape, dtype const & dt); ndarray empty(tuple const & shape, dtype const & dt); ndarray empty(int nd, Py_intptr_t const * shape, dtype const & dt); ndarray array(object const & obj); ndarray array(object const & obj, dtype const & dt); template ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::object const & owner); template ndarray from_data(void const * data, dtype const & dt, Container shape, Container strides, object const & owner); ndarray from_object(object const & obj, dtype const & dt,int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, dtype const & dt,int nd, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, dtype const & dt, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, int nd_min, int nd_max,ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, int nd, ndarray::bitflag flags=ndarray::NONE); ndarray from_object(object const & obj, ndarray::bitflag flags=ndarray::NONE) ndarray::bitflag operator|(ndarray::bitflag a, ndarray::bitflag b) ; ndarray::bitflag operator&(ndarray::bitflag a, ndarray::bitflag b); }rr}r(hUhjubaubeubh)r}r (hUhhhhhhh}r!(h ]h#]h$]h%]r"hah(]r#h auh)KZh*hh+]r$(h-)r%}r&(hhhjhhhh1h}r'(h%]h$]h ]h#]h(]h3huh)KZh*hh+]r(h6X constructorsr)r*}r+(hhhj%ubaubj)r,}r-(hX%ndarray view(dtype const & dt) const;hjhhhjh}r.(jjh%]h$]h ]h#]h(]uh)K^h*hh+]r/h6X%ndarray view(dtype const & dt) const;r0r1}r2(hUhj,ubaubcdocutils.nodes field_list r3)r4}r5(hUhjhhhU field_listr6h}r7(h ]h#]h$]h%]h(]uh)K`h*hh+]r8cdocutils.nodes field r9)r:}r;(hUhj4hhhUfieldr<h}r=(h ]h#]h$]h%]h(]uh)K`h*hh+]r>(cdocutils.nodes field_name r?)r@}rA(hXReturnsrBhj:hhhU field_namerCh}rD(h ]h#]h$]h%]h(]uh)Kh+]rEh6XReturnsrFrG}rH(hjBhj@ubaubcdocutils.nodes field_body rI)rJ}rK(hX9new ndarray with old ndarray data cast as supplied dtype h}rL(h ]h#]h$]h%]h(]uhj:h+]rMhX)rN}rO(hX8new ndarray with old ndarray data cast as supplied dtyperPhjJhhhhgh}rQ(h ]h#]h$]h%]h(]uh)K`h+]rRh6X8new ndarray with old ndarray data cast as supplied dtyperSrT}rU(hjPhjNubaubahU field_bodyrVubeubaubj)rW}rX(hX'ndarray astype(dtype const & dt) const;hjhhhjh}rY(jjh%]h$]h ]h#]h(]uh)Kdh*hh+]rZh6X'ndarray astype(dtype const & dt) const;r[r\}r](hUhjWubaubj3)r^}r_(hUhjhhhj6h}r`(h ]h#]h$]h%]h(]uh)Kfh*hh+]raj9)rb}rc(hUhj^hhhj<h}rd(h ]h#]h$]h%]h(]uh)Kfh*hh+]re(j?)rf}rg(hXReturnsrhhjbhhhjCh}ri(h ]h#]h$]h%]h(]uh)Kh+]rjh6XReturnsrkrl}rm(hjhhjfubaubjI)rn}ro(hX>new ndarray with old ndarray data converted to supplied dtype h}rp(h ]h#]h$]h%]h(]uhjbh+]rqhX)rr}rs(hX=new ndarray with old ndarray data converted to supplied dtyperthjnhhhhgh}ru(h ]h#]h$]h%]h(]uh)Kfh+]rvh6X=new ndarray with old ndarray data converted to supplied dtyperwrx}ry(hjthjrubaubahjVubeubaubj)rz}r{(hXndarray copy() const;hjhhhjh}r|(jjh%]h$]h ]h#]h(]uh)Kjh*hh+]r}h6Xndarray copy() const;r~r}r(hUhjzubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Klh*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Klh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hXCopy of calling ndarray object h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXCopy of calling ndarray objectrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Klh+]rh6XCopy of calling ndarray objectrr}r(hjhjubaubahjVubeubaubj)r}r(hXndarray transpose() const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kph*hh+]rh6Xndarray transpose() const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Krh*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Krh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hX2An ndarray with the rows and columns interchanged h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX1An ndarray with the rows and columns interchangedrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Krh+]rh6X1An ndarray with the rows and columns interchangedrr}r(hjhjubaubahjVubeubaubj)r}r(hXndarray squeeze() const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kvh*hh+]rh6Xndarray squeeze() const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Kxh*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kxh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hX3An ndarray with all unit-shaped dimensions removed h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX2An ndarray with all unit-shaped dimensions removedrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kxh+]rh6X2An ndarray with all unit-shaped dimensions removedrr}r(hjhjubaubahjVubeubaubj)r}r(hX+ndarray reshape(tuple const & shape) const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)K|h*hh+]rh6X+ndarray reshape(tuple const & shape) const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)K~h*hh+]r(j9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)K~h*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hX=The new ``shape`` of the ndarray must be supplied as a tuple h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX<The new ``shape`` of the ndarray must be supplied as a tuplehjhhhhgh}r(h ]h#]h$]h%]h(]uh)K~h+]r(h6XThe new rr}r(hXThe new hjubh)r}r(hX ``shape``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xshaper r }r (hUhjubahhubh6X+ of the ndarray must be supplied as a tupler r }r(hX+ of the ndarray must be supplied as a tuplehjubeubahjVubeubj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hXFAn ndarray with the same data but reshaped to the ``shape`` supplied h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r (hXDAn ndarray with the same data but reshaped to the ``shape`` suppliedhjhhhhgh}r!(h ]h#]h$]h%]h(]uh)Kh+]r"(h6X2An ndarray with the same data but reshaped to the r#r$}r%(hX2An ndarray with the same data but reshaped to the hjubh)r&}r'(hX ``shape``h}r((h ]h#]h$]h%]h(]uhjh+]r)h6Xshaper*r+}r,(hUhj&ubahhubh6X suppliedr-r.}r/(hX suppliedhjubeubahjVubeubeubj)r0}r1(hXobject scalarize() const;hjhhhjh}r2(jjh%]h$]h ]h#]h(]uh)Kh*hh+]r3h6Xobject scalarize() const;r4r5}r6(hUhj0ubaubj3)r7}r8(hUhjhhhj6h}r9(h ]h#]h$]h%]h(]uh)Kh*hh+]r:j9)r;}r<(hUhj7hhhj<h}r=(h ]h#]h$]h%]h(]uh)Kh*hh+]r>(j?)r?}r@(hXReturnsrAhj;hhhjCh}rB(h ]h#]h$]h%]h(]uh)Kh+]rCh6XReturnsrDrE}rF(hjAhj?ubaubjI)rG}rH(hXTA scalar if the ndarray has only one element, otherwise it returns the entire array h}rI(h ]h#]h$]h%]h(]uhj;h+]rJhX)rK}rL(hXSA scalar if the ndarray has only one element, otherwise it returns the entire arrayrMhjGhhhhgh}rN(h ]h#]h$]h%]h(]uh)Kh+]rOh6XSA scalar if the ndarray has only one element, otherwise it returns the entire arrayrPrQ}rR(hjMhjKubaubahjVubeubaubj)rS}rT(hXyndarray zeros(tuple const & shape, dtype const & dt); ndarray zeros(int nd, Py_intptr_t const * shape, dtype const & dt);hjhhhjh}rU(jjh%]h$]h ]h#]h(]uh)Kh*hh+]rVh6Xyndarray zeros(tuple const & shape, dtype const & dt); ndarray zeros(int nd, Py_intptr_t const * shape, dtype const & dt);rWrX}rY(hUhjSubaubj3)rZ}r[(hUhjhhhj6h}r\(h ]h#]h$]h%]h(]uh)Kh*hh+]r](j9)r^}r_(hUhjZhhhj<h}r`(h ]h#]h$]h%]h(]uh)Kh*hh+]ra(j?)rb}rc(hX Requirementsrdhj^hhhjCh}re(h ]h#]h$]h%]h(]uh)Kh+]rfh6X Requirementsrgrh}ri(hjdhjbubaubjI)rj}rk(hXThe following parameters must be supplied as required : * the ``shape`` or the size of all dimensions, as a tuple * the ``dtype`` of the data * the ``nd`` size for a square shaped ndarray * the ``shape`` Py_intptr_t h}rl(h ]h#]h$]h%]h(]uhj^h+]rm(hX)rn}ro(hX7The following parameters must be supplied as required :rphjjhhhhgh}rq(h ]h#]h$]h%]h(]uh)Kh+]rrh6X7The following parameters must be supplied as required :rsrt}ru(hjphjnubaubhM)rv}rw(hUh}rx(UbulletryX*h%]h$]h ]h#]h(]uhjjh+]rz(hS)r{}r|(hX7the ``shape`` or the size of all dimensions, as a tupler}h}r~(h ]h#]h$]h%]h(]uhjvh+]rhX)r}r(hj}hj{hhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``shape``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xshaperr}r(hUhjubahhubh6X* or the size of all dimensions, as a tuplerr}r(hX* or the size of all dimensions, as a tuplehjubeubahhubhS)r}r(hXthe ``dtype`` of the datarh}r(h ]h#]h$]h%]h(]uhjvh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``dtype``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xdtyperr}r(hUhjubahhubh6X of the datarr}r(hX of the datahjubeubahhubhS)r}r(hX+the ``nd`` size for a square shaped ndarrayrh}r(h ]h#]h$]h%]h(]uhjvh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX``nd``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xndrr}r(hUhjubahhubh6X! size for a square shaped ndarrayrr}r(hX! size for a square shaped ndarrayhjubeubahhubhS)r}r(hXthe ``shape`` Py_intptr_t h}r(h ]h#]h$]h%]h(]uhjvh+]rhX)r}r(hXthe ``shape`` Py_intptr_thjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``shape``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xshaperr}r(hUhjubahhubh6X Py_intptr_trr}r(hX Py_intptr_thjubeubahhubehhPubehjVubeubj9)r}r(hUhjZhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hXQA new ndarray with the given shape and data type, with data initialized to zero. h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXPA new ndarray with the given shape and data type, with data initialized to zero.rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XPA new ndarray with the given shape and data type, with data initialized to zero.rr}r(hjhjubaubahjVubeubeubj)r}r(hXyndarray empty(tuple const & shape, dtype const & dt); ndarray empty(int nd, Py_intptr_t const * shape, dtype const & dt);hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kh*hh+]rh6Xyndarray empty(tuple const & shape, dtype const & dt); ndarray empty(int nd, Py_intptr_t const * shape, dtype const & dt);rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hXThe following parameters must be supplied : * the ``shape`` or the size of all dimensions, as a tuple * the ``dtype`` of the data * the ``shape`` Py_intptr_t h}r(h ]h#]h$]h%]h(]uhjh+]r(hX)r}r(hX+The following parameters must be supplied :rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r h6X+The following parameters must be supplied :r r }r (hjhjubaubhM)r }r(hUh}r(jyX*h%]h$]h ]h#]h(]uhjh+]r(hS)r}r(hX7the ``shape`` or the size of all dimensions, as a tuplerh}r(h ]h#]h$]h%]h(]uhj h+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``shape``h}r(h ]h#]h$]h%]h(]uhjh+]r h6Xshaper!r"}r#(hUhjubahhubh6X* or the size of all dimensions, as a tupler$r%}r&(hX* or the size of all dimensions, as a tuplehjubeubahhubhS)r'}r((hXthe ``dtype`` of the datar)h}r*(h ]h#]h$]h%]h(]uhj h+]r+hX)r,}r-(hj)hj'hhhhgh}r.(h ]h#]h$]h%]h(]uh)Kh+]r/(h6Xthe r0r1}r2(hXthe hj,ubh)r3}r4(hX ``dtype``h}r5(h ]h#]h$]h%]h(]uhj,h+]r6h6Xdtyper7r8}r9(hUhj3ubahhubh6X of the datar:r;}r<(hX of the datahj,ubeubahhubhS)r=}r>(hXthe ``shape`` Py_intptr_t h}r?(h ]h#]h$]h%]h(]uhj h+]r@hX)rA}rB(hXthe ``shape`` Py_intptr_thj=hhhhgh}rC(h ]h#]h$]h%]h(]uh)Kh+]rD(h6Xthe rErF}rG(hXthe hjAubh)rH}rI(hX ``shape``h}rJ(h ]h#]h$]h%]h(]uhjAh+]rKh6XshaperLrM}rN(hUhjHubahhubh6X Py_intptr_trOrP}rQ(hX Py_intptr_thjAubeubahhubehhPubehjVubeubj9)rR}rS(hUhjhhhj<h}rT(h ]h#]h$]h%]h(]uh)Kh*hh+]rU(j?)rV}rW(hXReturnsrXhjRhhhjCh}rY(h ]h#]h$]h%]h(]uh)Kh+]rZh6XReturnsr[r\}r](hjXhjVubaubjI)r^}r_(hXPA new ndarray with the given shape and data type, with data left uninitialized. h}r`(h ]h#]h$]h%]h(]uhjRh+]rahX)rb}rc(hXOA new ndarray with the given shape and data type, with data left uninitialized.rdhj^hhhhgh}re(h ]h#]h$]h%]h(]uh)Kh+]rfh6XOA new ndarray with the given shape and data type, with data left uninitialized.rgrh}ri(hjdhjbubaubahjVubeubeubj)rj}rk(hXWndarray array(object const & obj); ndarray array(object const & obj, dtype const & dt);hjhhhjh}rl(jjh%]h$]h ]h#]h(]uh)Kh*hh+]rmh6XWndarray array(object const & obj); ndarray array(object const & obj, dtype const & dt);rnro}rp(hUhjjubaubj3)rq}rr(hUhjhhhj6h}rs(h ]h#]h$]h%]h(]uh)Kh*hh+]rtj9)ru}rv(hUhjqhhhj<h}rw(h ]h#]h$]h%]h(]uh)Kh*hh+]rx(j?)ry}rz(hXReturnsr{hjuhhhjCh}r|(h ]h#]h$]h%]h(]uh)Kh+]r}h6XReturnsr~r}r(hj{hjyubaubjI)r}r(hXaA new ndarray from an arbitrary Python sequence, with dtype of each element specified optionally h}r(h ]h#]h$]h%]h(]uhjuh+]rhX)r}r(hX`A new ndarray from an arbitrary Python sequence, with dtype of each element specified optionallyrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X`A new ndarray from an arbitrary Python sequence, with dtype of each element specified optionallyrr}r(hjhjubaubahjVubeubaubj)r}r(hXtemplate inline ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::object const & owner)hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kh*hh+]rh6Xtemplate inline ndarray from_data(void * data,dtype const & dt,Container shape,Container strides,python::object const & owner)rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hX7The following parameters must be supplied : * the ``data`` which is a generic C++ data container * the dtype ``dt`` of the data * the ``shape`` of the ndarray as Python object * the ``strides`` of each dimension of the array as a Python object * the ``owner`` of the data, in case it is not the ndarray itself h}r(h ]h#]h$]h%]h(]uhjh+]r(hX)r}r(hX+The following parameters must be supplied :rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X+The following parameters must be supplied :rr}r(hjhjubaubhM)r}r(hUh}r(jyX*h%]h$]h ]h#]h(]uhjh+]r(hS)r}r(hX2the ``data`` which is a generic C++ data containerrh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX``data``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xdatarr}r(hUhjubahhubh6X& which is a generic C++ data containerrr}r(hX& which is a generic C++ data containerhjubeubahhubhS)r}r(hXthe dtype ``dt`` of the datarh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6X the dtype rr}r(hX the dtype hjubh)r}r(hX``dt``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xdtrr}r(hUhjubahhubh6X of the datarr}r(hX of the datahjubeubahhubhS)r}r(hX-the ``shape`` of the ndarray as Python objectrh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``shape``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xshaperr}r(hUhjubahhubh6X of the ndarray as Python objectrr}r(hX of the ndarray as Python objecthjubeubahhubhS)r}r(hXAthe ``strides`` of each dimension of the array as a Python objectrh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``strides``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xstridesrr}r(hUhjubahhubh6X2 of each dimension of the array as a Python objectr r }r (hX2 of each dimension of the array as a Python objecthjubeubahhubhS)r }r (hX@the ``owner`` of the data, in case it is not the ndarray itself h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX?the ``owner`` of the data, in case it is not the ndarray itselfhj hhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX ``owner``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xownerrr}r(hUhjubahhubh6X2 of the data, in case it is not the ndarray itselfrr}r (hX2 of the data, in case it is not the ndarray itselfhjubeubahhubehhPubehjVubeubj9)r!}r"(hUhjhhhj<h}r#(h ]h#]h$]h%]h(]uh)Kh*hh+]r$(j?)r%}r&(hXReturnsr'hj!hhhjCh}r((h ]h#]h$]h%]h(]uh)Kh+]r)h6XReturnsr*r+}r,(hj'hj%ubaubjI)r-}r.(hX*ndarray with attributes and data supplied h}r/(h ]h#]h$]h%]h(]uhj!h+]r0hX)r1}r2(hX)ndarray with attributes and data suppliedr3hj-hhhhgh}r4(h ]h#]h$]h%]h(]uh)Kh+]r5h6X)ndarray with attributes and data suppliedr6r7}r8(hj3hj1ubaubahjVubeubj9)r9}r:(hUhjhhhj<h}r;(h ]h#]h$]h%]h(]uh)Kh*hh+]r<(j?)r=}r>(hXNoter?hj9hhhjCh}r@(h ]h#]h$]h%]h(]uh)Kh+]rAh6XNoterBrC}rD(hj?hj=ubaubjI)rE}rF(hXbThe ``Container`` typename must be one that is convertible to a std::vector or python object type h}rG(h ]h#]h$]h%]h(]uhj9h+]rHhX)rI}rJ(hXaThe ``Container`` typename must be one that is convertible to a std::vector or python object typehjEhhhhgh}rK(h ]h#]h$]h%]h(]uh)Kh+]rL(h6XThe rMrN}rO(hXThe hjIubh)rP}rQ(hX ``Container``h}rR(h ]h#]h$]h%]h(]uhjIh+]rSh6X ContainerrTrU}rV(hUhjPubahhubh6XP typename must be one that is convertible to a std::vector or python object typerWrX}rY(hXP typename must be one that is convertible to a std::vector or python object typehjIubeubahjVubeubeubj)rZ}r[(hXwndarray from_object(object const & obj, dtype const & dt,int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE);hjhhhjh}r\(jjh%]h$]h ]h#]h(]uh)Kh*hh+]r]h6Xwndarray from_object(object const & obj, dtype const & dt,int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE);r^r_}r`(hUhjZubaubj3)ra}rb(hUhjhhhj6h}rc(h ]h#]h$]h%]h(]uh)Kh*hh+]rd(j9)re}rf(hUhjahhhj<h}rg(h ]h#]h$]h%]h(]uh)Kh*hh+]rh(j?)ri}rj(hX RequirementsrkhjehhhjCh}rl(h ]h#]h$]h%]h(]uh)Kh+]rmh6X Requirementsrnro}rp(hjkhjiubaubjI)rq}rr(hX0The following parameters must be supplied : * the ``obj`` Python object to convert to ndarray * the dtype ``dt`` of the data * minimum number of dimensions ``nd_min`` of the ndarray as Python object * maximum number of dimensions ``nd_max`` of the ndarray as Python object * optional ``flags`` bitflags h}rs(h ]h#]h$]h%]h(]uhjeh+]rt(hX)ru}rv(hX+The following parameters must be supplied :rwhjqhhhhgh}rx(h ]h#]h$]h%]h(]uh)Kh+]ryh6X+The following parameters must be supplied :rzr{}r|(hjwhjuubaubhM)r}}r~(hUh}r(jyX*h%]h$]h ]h#]h(]uhjqh+]r(hS)r}r(hX/the ``obj`` Python object to convert to ndarrayrh}r(h ]h#]h$]h%]h(]uhj}h+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX``obj``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xobjrr}r(hUhjubahhubh6X$ Python object to convert to ndarrayrr}r(hX$ Python object to convert to ndarrayhjubeubahhubhS)r}r(hXthe dtype ``dt`` of the datarh}r(h ]h#]h$]h%]h(]uhj}h+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6X the dtype rr}r(hX the dtype hjubh)r}r(hX``dt``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xdtrr}r(hUhjubahhubh6X of the datarr}r(hX of the datahjubeubahhubhS)r}r(hXGminimum number of dimensions ``nd_min`` of the ndarray as Python objectrh}r(h ]h#]h$]h%]h(]uhj}h+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xminimum number of dimensions rr}r(hXminimum number of dimensions hjubh)r}r(hX ``nd_min``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xnd_minrr}r(hUhjubahhubh6X of the ndarray as Python objectrr}r(hX of the ndarray as Python objecthjubeubahhubhS)r}r(hXGmaximum number of dimensions ``nd_max`` of the ndarray as Python objectrh}r(h ]h#]h$]h%]h(]uhj}h+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xmaximum number of dimensions rr}r(hXmaximum number of dimensions hjubh)r}r(hX ``nd_max``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xnd_maxrr}r(hUhjubahhubh6X of the ndarray as Python objectrr}r(hX of the ndarray as Python objecthjubeubahhubhS)r}r(hXoptional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhj}h+]rhX)r}r(hXoptional ``flags`` bitflagshjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6X optional rr}r(hX optional hjubh)r}r(hX ``flags``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xflagsrr}r(hUhjubahhubh6X bitflagsrr}r(hX bitflagshjubeubahhubehhPubehjVubeubj9)r}r(hUhjahhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hXDndarray constructed with dimensions and data supplied as parameters h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXCndarray constructed with dimensions and data supplied as parametersrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XCndarray constructed with dimensions and data supplied as parametersrr}r(hjhjubaubahjVubeubeubj)r}r(hXoinline ndarray from_object(object const & obj, dtype const & dt, int nd, ndarray::bitflag flags=ndarray::NONE);hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kh*hh+]r h6Xoinline ndarray from_object(object const & obj, dtype const & dt, int nd, ndarray::bitflag flags=ndarray::NONE);r r }r (hUhjubaubj3)r }r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j9)r}r(hUhj hhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hXThe following parameters must be supplied : * the ``obj`` Python object to convert to ndarray * the dtype ``dt`` of the data * number of dimensions ``nd`` of the ndarray as Python object * optional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjh+]r (hX)r!}r"(hX+The following parameters must be supplied :r#hjhhhhgh}r$(h ]h#]h$]h%]h(]uh)Kh+]r%h6X+The following parameters must be supplied :r&r'}r((hj#hj!ubaubhM)r)}r*(hUh}r+(jyX*h%]h$]h ]h#]h(]uhjh+]r,(hS)r-}r.(hX/the ``obj`` Python object to convert to ndarrayr/h}r0(h ]h#]h$]h%]h(]uhj)h+]r1hX)r2}r3(hj/hj-hhhhgh}r4(h ]h#]h$]h%]h(]uh)Kh+]r5(h6Xthe r6r7}r8(hXthe hj2ubh)r9}r:(hX``obj``h}r;(h ]h#]h$]h%]h(]uhj2h+]r<h6Xobjr=r>}r?(hUhj9ubahhubh6X$ Python object to convert to ndarrayr@rA}rB(hX$ Python object to convert to ndarrayhj2ubeubahhubhS)rC}rD(hXthe dtype ``dt`` of the datarEh}rF(h ]h#]h$]h%]h(]uhj)h+]rGhX)rH}rI(hjEhjChhhhgh}rJ(h ]h#]h$]h%]h(]uh)Kh+]rK(h6X the dtype rLrM}rN(hX the dtype hjHubh)rO}rP(hX``dt``h}rQ(h ]h#]h$]h%]h(]uhjHh+]rRh6XdtrSrT}rU(hUhjOubahhubh6X of the datarVrW}rX(hX of the datahjHubeubahhubhS)rY}rZ(hX;number of dimensions ``nd`` of the ndarray as Python objectr[h}r\(h ]h#]h$]h%]h(]uhj)h+]r]hX)r^}r_(hj[hjYhhhhgh}r`(h ]h#]h$]h%]h(]uh)Kh+]ra(h6Xnumber of dimensions rbrc}rd(hXnumber of dimensions hj^ubh)re}rf(hX``nd``h}rg(h ]h#]h$]h%]h(]uhj^h+]rhh6Xndrirj}rk(hUhjeubahhubh6X of the ndarray as Python objectrlrm}rn(hX of the ndarray as Python objecthj^ubeubahhubhS)ro}rp(hXoptional ``flags`` bitflags h}rq(h ]h#]h$]h%]h(]uhj)h+]rrhX)rs}rt(hXoptional ``flags`` bitflagshjohhhhgh}ru(h ]h#]h$]h%]h(]uh)Kh+]rv(h6X optional rwrx}ry(hX optional hjsubh)rz}r{(hX ``flags``h}r|(h ]h#]h$]h%]h(]uhjsh+]r}h6Xflagsr~r}r(hUhjzubahhubh6X bitflagsrr}r(hX bitflagshjsubeubahhubehhPubehjVubeubj9)r}r(hUhj hhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hX?ndarray with dimensions ``nd`` x ``nd`` and suplied parameters h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX>ndarray with dimensions ``nd`` x ``nd`` and suplied parametershjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xndarray with dimensions rr}r(hXndarray with dimensions hjubh)r}r(hX``nd``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xndrr}r(hUhjubahhubh6X x rr}r(hX x hjubh)r}r(hX``nd``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xndrr}r(hUhjubahhubh6X and suplied parametersrr}r(hX and suplied parametershjubeubahjVubeubeubj)r}r(hXfinline ndarray from_object(object const & obj, dtype const & dt, ndarray::bitflag flags=ndarray::NONE)hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kh*hh+]rh6Xfinline ndarray from_object(object const & obj, dtype const & dt, ndarray::bitflag flags=ndarray::NONE)rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hXThe following parameters must be supplied : * the ``obj`` Python object to convert to ndarray * the dtype ``dt`` of the data * optional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjh+]r(hX)r}r(hX+The following parameters must be supplied :rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X+The following parameters must be supplied :rr}r(hjhjubaubhM)r}r(hUh}r(jyX*h%]h$]h ]h#]h(]uhjh+]r(hS)r}r(hX/the ``obj`` Python object to convert to ndarrayrh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX``obj``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xobjrr}r(hUhjubahhubh6X$ Python object to convert to ndarrayrr}r(hX$ Python object to convert to ndarrayhjubeubahhubhS)r}r(hXthe dtype ``dt`` of the datarh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6X the dtype rr}r(hX the dtype hjubh)r}r(hX``dt``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xdtrr}r(hUhjubahhubh6X of the datarr}r(hX of the datahjubeubahhubhS)r}r(hXoptional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXoptional ``flags`` bitflagshjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r (h6X optional r r }r (hX optional hjubh)r }r(hX ``flags``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xflagsrr}r(hUhj ubahhubh6X bitflagsrr}r(hX bitflagshjubeubahhubehhPubehjVubeubj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsr r!}r"(hjhjubaubjI)r#}r$(hX"Supplied Python object as ndarray h}r%(h ]h#]h$]h%]h(]uhjh+]r&hX)r'}r((hX!Supplied Python object as ndarrayr)hj#hhhhgh}r*(h ]h#]h$]h%]h(]uh)Kh+]r+h6X!Supplied Python object as ndarrayr,r-}r.(hj)hj'ubaubahjVubeubeubj)r/}r0(hXfndarray from_object(object const & obj, int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE);hjhhhjh}r1(jjh%]h$]h ]h#]h(]uh)Kh*hh+]r2h6Xfndarray from_object(object const & obj, int nd_min, int nd_max, ndarray::bitflag flags=ndarray::NONE);r3r4}r5(hUhj/ubaubj3)r6}r7(hUhjhhhj6h}r8(h ]h#]h$]h%]h(]uh)Kh*hh+]r9(j9)r:}r;(hUhj6hhhj<h}r<(h ]h#]h$]h%]h(]uh)Kh*hh+]r=(j?)r>}r?(hX Requirementsr@hj:hhhjCh}rA(h ]h#]h$]h%]h(]uh)Kh+]rBh6X RequirementsrCrD}rE(hj@hj>ubaubjI)rF}rG(hXThe following parameters must be supplied : * the ``obj`` Python object to convert to ndarray * minimum number of dimensions ``nd_min`` of the ndarray as Python object * maximum number of dimensions ``nd_max`` of the ndarray as Python object * optional ``flags`` bitflags h}rH(h ]h#]h$]h%]h(]uhj:h+]rI(hX)rJ}rK(hX+The following parameters must be supplied :rLhjFhhhhgh}rM(h ]h#]h$]h%]h(]uh)Kh+]rNh6X+The following parameters must be supplied :rOrP}rQ(hjLhjJubaubhM)rR}rS(hUh}rT(jyX*h%]h$]h ]h#]h(]uhjFh+]rU(hS)rV}rW(hX/the ``obj`` Python object to convert to ndarrayrXh}rY(h ]h#]h$]h%]h(]uhjRh+]rZhX)r[}r\(hjXhjVhhhhgh}r](h ]h#]h$]h%]h(]uh)Kh+]r^(h6Xthe r_r`}ra(hXthe hj[ubh)rb}rc(hX``obj``h}rd(h ]h#]h$]h%]h(]uhj[h+]reh6Xobjrfrg}rh(hUhjbubahhubh6X$ Python object to convert to ndarrayrirj}rk(hX$ Python object to convert to ndarrayhj[ubeubahhubhS)rl}rm(hXGminimum number of dimensions ``nd_min`` of the ndarray as Python objectrnh}ro(h ]h#]h$]h%]h(]uhjRh+]rphX)rq}rr(hjnhjlhhhhgh}rs(h ]h#]h$]h%]h(]uh)Kh+]rt(h6Xminimum number of dimensions rurv}rw(hXminimum number of dimensions hjqubh)rx}ry(hX ``nd_min``h}rz(h ]h#]h$]h%]h(]uhjqh+]r{h6Xnd_minr|r}}r~(hUhjxubahhubh6X of the ndarray as Python objectrr}r(hX of the ndarray as Python objecthjqubeubahhubhS)r}r(hXGmaximum number of dimensions ``nd_max`` of the ndarray as Python objectrh}r(h ]h#]h$]h%]h(]uhjRh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6Xmaximum number of dimensions rr}r(hXmaximum number of dimensions hjubh)r}r(hX ``nd_max``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xnd_maxrr}r(hUhjubahhubh6X of the ndarray as Python objectrr}r(hX of the ndarray as Python objecthjubeubahhubhS)r}r(hXoptional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjRh+]rhX)r}r(hXoptional ``flags`` bitflagshjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]r(h6X optional rr}r(hX optional hjubh)r}r(hX ``flags``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xflagsrr}r(hUhjubahhubh6X bitflagsrr}r(hX bitflagshjubeubahhubehhPubehjVubeubj9)r}r(hUhj6hhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hX6ndarray with supplied dimension limits and parameters h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX5ndarray with supplied dimension limits and parametersrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X5ndarray with supplied dimension limits and parametersrr}r(hjhjubaubahjVubeubj9)r}r(hUhj6hhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hXNoterhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XNoterr}r(hjhjubaubjI)r}r(hX dtype need not be supplied here h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXdtype need not be supplied hererhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6Xdtype need not be supplied hererr}r(hjhjubaubahjVubeubeubj)r}r(hX]inline ndarray from_object(object const & obj, int nd, ndarray::bitflag flags=ndarray::NONE);hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Kh*hh+]rh6X]inline ndarray from_object(object const & obj, int nd, ndarray::bitflag flags=ndarray::NONE);rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Kh*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hXThe following parameters must be supplied : * the ``obj`` Python object to convert to ndarray * the dtype ``dt`` of the data * number of dimensions ``nd`` of the ndarray as Python object * optional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjh+]r(hX)r}r(hX+The following parameters must be supplied :rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X+The following parameters must be supplied :rr}r(hjhjubaubhM)r}r(hUh}r(jyX*h%]h$]h ]h#]h(]uhjh+]r(hS)r}r(hX/the ``obj`` Python object to convert to ndarrayrh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r }r (hjhjhhhhgh}r (h ]h#]h$]h%]h(]uh)Kh+]r (h6Xthe r r}r(hXthe hj ubh)r}r(hX``obj``h}r(h ]h#]h$]h%]h(]uhj h+]rh6Xobjrr}r(hUhjubahhubh6X$ Python object to convert to ndarrayrr}r(hX$ Python object to convert to ndarrayhj ubeubahhubhS)r}r(hXthe dtype ``dt`` of the datarh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r (hjhjhhhhgh}r!(h ]h#]h$]h%]h(]uh)Kh+]r"(h6X the dtype r#r$}r%(hX the dtype hjubh)r&}r'(hX``dt``h}r((h ]h#]h$]h%]h(]uhjh+]r)h6Xdtr*r+}r,(hUhj&ubahhubh6X of the datar-r.}r/(hX of the datahjubeubahhubhS)r0}r1(hX;number of dimensions ``nd`` of the ndarray as Python objectr2h}r3(h ]h#]h$]h%]h(]uhjh+]r4hX)r5}r6(hj2hj0hhhhgh}r7(h ]h#]h$]h%]h(]uh)Kh+]r8(h6Xnumber of dimensions r9r:}r;(hXnumber of dimensions hj5ubh)r<}r=(hX``nd``h}r>(h ]h#]h$]h%]h(]uhj5h+]r?h6Xndr@rA}rB(hUhj<ubahhubh6X of the ndarray as Python objectrCrD}rE(hX of the ndarray as Python objecthj5ubeubahhubhS)rF}rG(hXoptional ``flags`` bitflags h}rH(h ]h#]h$]h%]h(]uhjh+]rIhX)rJ}rK(hXoptional ``flags`` bitflagshjFhhhhgh}rL(h ]h#]h$]h%]h(]uh)Kh+]rM(h6X optional rNrO}rP(hX optional hjJubh)rQ}rR(hX ``flags``h}rS(h ]h#]h$]h%]h(]uhjJh+]rTh6XflagsrUrV}rW(hUhjQubahhubh6X bitflagsrXrY}rZ(hX bitflagshjJubeubahhubehhPubehjVubeubj9)r[}r\(hUhjhhhj<h}r](h ]h#]h$]h%]h(]uh)Kh*hh+]r^(j?)r_}r`(hXReturnsrahj[hhhjCh}rb(h ]h#]h$]h%]h(]uh)Kh+]rch6XReturnsrdre}rf(hjahj_ubaubjI)rg}rh(hXKndarray of ``nd`` x ``nd`` dimensions constructed from the supplied object h}ri(h ]h#]h$]h%]h(]uhj[h+]rjhX)rk}rl(hXJndarray of ``nd`` x ``nd`` dimensions constructed from the supplied objecthjghhhhgh}rm(h ]h#]h$]h%]h(]uh)Kh+]rn(h6X ndarray of rorp}rq(hX ndarray of hjkubh)rr}rs(hX``nd``h}rt(h ]h#]h$]h%]h(]uhjkh+]ruh6Xndrvrw}rx(hUhjrubahhubh6X x ryrz}r{(hX x hjkubh)r|}r}(hX``nd``h}r~(h ]h#]h$]h%]h(]uhjkh+]rh6Xndrr}r(hUhj|ubahhubh6X0 dimensions constructed from the supplied objectrr}r(hX0 dimensions constructed from the supplied objecthjkubeubahjVubeubeubj)r}r(hXTinline ndarray from_object(object const & obj, ndarray::bitflag flags=ndarray::NONE)hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Mh*hh+]rh6XTinline ndarray from_object(object const & obj, ndarray::bitflag flags=ndarray::NONE)rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Mh*hh+]r(j9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)Mh*hh+]r(j?)r}r(hX RequirementsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6X Requirementsrr}r(hjhjubaubjI)r}r(hX}The following parameters must be supplied : * the ``obj`` Python object to convert to ndarray * optional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjh+]r(hX)r}r(hX+The following parameters must be supplied :rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Mh+]rh6X+The following parameters must be supplied :rr}r(hjhjubaubhM)r}r(hUh}r(jyX*h%]h$]h ]h#]h(]uhjh+]r(hS)r}r(hX/the ``obj`` Python object to convert to ndarrayrh}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hjhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Mh+]r(h6Xthe rr}r(hXthe hjubh)r}r(hX``obj``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xobjrr}r(hUhjubahhubh6X$ Python object to convert to ndarrayrr}r(hX$ Python object to convert to ndarrayhjubeubahhubhS)r}r(hXoptional ``flags`` bitflags h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXoptional ``flags`` bitflagsrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Mh+]r(h6X optional rr}r(hX optional hjubh)r}r(hX ``flags``h}r(h ]h#]h$]h%]h(]uhjh+]rh6Xflagsrr}r(hUhjubahhubh6X bitflagsrr}r(hX bitflagshjubeubahhubehhPubehjVubeubj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)M h*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hX@ndarray of same dimensions and dtype as supplied Python object h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX>ndarray of same dimensions and dtype as supplied Python objectrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)M h+]rh6X>ndarray of same dimensions and dtype as supplied Python objectrr}r(hjhjubaubahjVubeubeubeubh)r}r(hUhhhhhhh}r(h ]h#]h$]h%]rhah(]rhauh)M h*hh+]r(h-)r}r(hhhjhhhh1h}r(h%]h$]h ]h#]h(]h3huh)M h*hh+]rh6X accessorsrr}r(hhhjubaubj)r}r(hXint const shape(int n) const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)Mh*hh+]rh6Xint const shape(int n) const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)Mh*hh+]rj9)r }r (hUhjhhhj<h}r (h ]h#]h$]h%]h(]uh)Mh*hh+]r (j?)r }r(hXReturnsrhj hhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhj ubaubjI)r}r(hX.The size of the n-th dimension of the ndarray h}r(h ]h#]h$]h%]h(]uhj h+]rhX)r}r(hX-The size of the n-th dimension of the ndarrayrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)Mh+]rh6X-The size of the n-th dimension of the ndarrayrr}r (hjhjubaubahjVubeubaubj)r!}r"(hXint const strides(int n) const;hjhhhjh}r#(jjh%]h$]h ]h#]h(]uh)Mh*hh+]r$h6Xint const strides(int n) const;r%r&}r'(hUhj!ubaubj3)r(}r)(hUhjhhhj6h}r*(h ]h#]h$]h%]h(]uh)Mh*hh+]r+j9)r,}r-(hUhj(hhhj<h}r.(h ]h#]h$]h%]h(]uh)Mh*hh+]r/(j?)r0}r1(hXReturnsr2hj,hhhjCh}r3(h ]h#]h$]h%]h(]uh)Kh+]r4h6XReturnsr5r6}r7(hj2hj0ubaubjI)r8}r9(hX!The stride of the nth dimension. h}r:(h ]h#]h$]h%]h(]uhj,h+]r;hX)r<}r=(hX The stride of the nth dimension.r>hj8hhhhgh}r?(h ]h#]h$]h%]h(]uh)Mh+]r@h6X The stride of the nth dimension.rArB}rC(hj>hj<ubaubahjVubeubaubj)rD}rE(hXchar * get_data() const;hjhhhjh}rF(jjh%]h$]h ]h#]h(]uh)Mh*hh+]rGh6Xchar * get_data() const;rHrI}rJ(hUhjDubaubj3)rK}rL(hUhjhhhj6h}rM(h ]h#]h$]h%]h(]uh)Mh*hh+]rN(j9)rO}rP(hUhjKhhhj<h}rQ(h ]h#]h$]h%]h(]uh)Mh*hh+]rR(j?)rS}rT(hXReturnsrUhjOhhhjCh}rV(h ]h#]h$]h%]h(]uh)Kh+]rWh6XReturnsrXrY}rZ(hjUhjSubaubjI)r[}r\(hX#Array's raw data pointer as a char h}r](h ]h#]h$]h%]h(]uhjOh+]r^hX)r_}r`(hX"Array's raw data pointer as a charrahj[hhhhgh}rb(h ]h#]h$]h%]h(]uh)Mh+]rch6X"Array's raw data pointer as a charrdre}rf(hjahj_ubaubahjVubeubj9)rg}rh(hUhjKhhhj<h}ri(h ]h#]h$]h%]h(]uh)M!h*hh+]rj(j?)rk}rl(hXNotermhjghhhjCh}rn(h ]h#]h$]h%]h(]uh)Kh+]roh6XNoterprq}rr(hjmhjkubaubjI)rs}rt(hX]This returns char so stride math works properly on it.User will have to reinterpret_cast it. h}ru(h ]h#]h$]h%]h(]uhjgh+]rvhX)rw}rx(hX\This returns char so stride math works properly on it.User will have to reinterpret_cast it.ryhjshhhhgh}rz(h ]h#]h$]h%]h(]uh)M!h+]r{h6X\This returns char so stride math works properly on it.User will have to reinterpret_cast it.r|r}}r~(hjyhjwubaubahjVubeubeubj)r}r(hXdtype get_dtype() const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)M%h*hh+]rh6Xdtype get_dtype() const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)M'h*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)M'h*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hX-Array's data-type descriptor object (dtype) h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hX+Array's data-type descriptor object (dtype)rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)M'h+]rh6X+Array's data-type descriptor object (dtype)rr}r(hjhjubaubahjVubeubaubj)r}r(hXobject get_base() const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)M,h*hh+]rh6Xobject get_base() const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)M.h*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)M.h*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hXLObject that owns the array's data, or None if the array owns its own data. h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXJObject that owns the array's data, or None if the array owns its own data.rhjhhhhgh}r(h ]h#]h$]h%]h(]uh)M.h+]rh6XJObject that owns the array's data, or None if the array owns its own data.rr}r(hjhjubaubahjVubeubaubj)r}r(hX#void set_base(object const & base);hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)M3h*hh+]rh6X#void set_base(object const & base);rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)M5h*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)M5h*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r(hXNSet the object that owns the array's data. Exercise caution while using this h}r(h ]h#]h$]h%]h(]uhjh+]rhX)r}r(hXLSet the object that owns the array's data. Exercise caution while using thisrhjhhhhgh}r(h ]h#]h$]h%]h(]uh)M5h+]rh6XLSet the object that owns the array's data. Exercise caution while using thisrr}r(hjhjubaubahjVubeubaubj)r}r(hX&Py_intptr_t const * get_shape() const;hjhhhjh}r(jjh%]h$]h ]h#]h(]uh)M:h*hh+]rh6X&Py_intptr_t const * get_shape() const;rr}r(hUhjubaubj3)r}r(hUhjhhhj6h}r(h ]h#]h$]h%]h(]uh)M<h*hh+]rj9)r}r(hUhjhhhj<h}r(h ]h#]h$]h%]h(]uh)M<h*hh+]r(j?)r}r(hXReturnsrhjhhhjCh}r(h ]h#]h$]h%]h(]uh)Kh+]rh6XReturnsrr}r(hjhjubaubjI)r}r (hX,Shape of the array as an array of integers h}r (h ]h#]h$]h%]h(]uhjh+]r hX)r }r (hX*Shape of the array as an array of integersr hjhhhhgh}r (h ]h#]h$]h%]h(]uh)M<h+]r h6X*Shape of the array as an array of integersr r }r (hj hj ubaubahjVubeubaubj)r }r (hX(Py_intptr_t const * get_strides() const;hjhhhjh}r (jjh%]h$]h ]h#]h(]uh)MAh*hh+]r h6X(Py_intptr_t const * get_strides() const;r r }r (hUhj ubaubj3)r }r (hUhjhhhj6h}r (h ]h#]h$]h%]h(]uh)MCh*hh+]r j9)r }r (hUhj hhhj<h}r (h ]h#]h$]h%]h(]uh)MCh*hh+]r (j?)r }r (hXReturnsr hj hhhjCh}r (h ]h#]h$]h%]h(]uh)Kh+]r h6XReturnsr r }r! (hj hj ubaubjI)r" }r# (hX-Stride of the array as an array of integers h}r$ (h ]h#]h$]h%]h(]uhj h+]r% hX)r& }r' (hX+Stride of the array as an array of integersr( hj" hhhhgh}r) (h ]h#]h$]h%]h(]uh)MCh+]r* h6X+Stride of the array as an array of integersr+ r, }r- (hj( hj& ubaubahjVubeubaubj)r. }r/ (hXint const get_nd() const;hjhhhjh}r0 (jjh%]h$]h ]h#]h(]uh)MHh*hh+]r1 h6Xint const get_nd() const;r2 r3 }r4 (hUhj. ubaubj3)r5 }r6 (hUhjhhhj6h}r7 (h ]h#]h$]h%]h(]uh)MJh*hh+]r8 j9)r9 }r: (hUhj5 hhhj<h}r; (h ]h#]h$]h%]h(]uh)MJh*hh+]r< (j?)r= }r> (hXReturnsr? hj9 hhhjCh}r@ (h ]h#]h$]h%]h(]uh)Kh+]rA h6XReturnsrB rC }rD (hj? hj= ubaubjI)rE }rF (hXNumber of array dimensions h}rG (h ]h#]h$]h%]h(]uhj9 h+]rH hX)rI }rJ (hXNumber of array dimensionsrK hjE hhhhgh}rL (h ]h#]h$]h%]h(]uh)MJh+]rM h6XNumber of array dimensionsrN rO }rP (hjK hjI ubaubahjVubeubaubj)rQ }rR (hX bitflag const get_flags() const;hjhhhjh}rS (jjh%]h$]h ]h#]h(]uh)MOh*hh+]rT h6X bitflag const get_flags() const;rU rV }rW (hUhjQ ubaubj3)rX }rY (hUhjhhhj6h}rZ (h ]h#]h$]h%]h(]uh)MQh*hh+]r[ j9)r\ }r] (hUhjX hhhj<h}r^ (h ]h#]h$]h%]h(]uh)MQh*hh+]r_ (j?)r` }ra (hXReturnsrb hj\ hhhjCh}rc (h ]h#]h$]h%]h(]uh)Kh+]rd h6XReturnsre rf }rg (hjb hj` ubaubjI)rh }ri (hX Array flags h}rj (h ]h#]h$]h%]h(]uhj\ h+]rk hX)rl }rm (hX Array flagsrn hjh hhhhgh}ro (h ]h#]h$]h%]h(]uh)MQh+]rp h6X Array flagsrq rr }rs (hjn hjl ubaubahjVubeubaubj)rt }ru (hXIinline ndarray::bitflag operator|(ndarray::bitflag a, ndarray::bitflag b)hjhhhjh}rv (jjh%]h$]h ]h#]h(]uh)MUh*hh+]rw h6XIinline ndarray::bitflag operator|(ndarray::bitflag a, ndarray::bitflag b)rx ry }rz (hUhjt ubaubj3)r{ }r| (hUhjhhhj6h}r} (h ]h#]h$]h%]h(]uh)MWh*hh+]r~ j9)r }r (hUhj{ hhhj<h}r (h ]h#]h$]h%]h(]uh)MWh*hh+]r (j?)r }r (hXReturnsr hj hhhjCh}r (h ]h#]h$]h%]h(]uh)Kh+]r h6XReturnsr r }r (hj hj ubaubjI)r }r (hX#bitflag logically OR-ed as (a | b) h}r (h ]h#]h$]h%]h(]uhj h+]r hX)r }r (hX"bitflag logically OR-ed as (a | b)r hj hhhhgh}r (h ]h#]h$]h%]h(]uh)MWh+]r h6X"bitflag logically OR-ed as (a | b)r r }r (hj hj ubaubahjVubeubaubj)r }r (hXIinline ndarray::bitflag operator&(ndarray::bitflag a, ndarray::bitflag b)hjhhhjh}r (jjh%]h$]h ]h#]h(]uh)M[h*hh+]r h6XIinline ndarray::bitflag operator&(ndarray::bitflag a, ndarray::bitflag b)r r }r (hUhj ubaubj3)r }r (hUhjhhhj6h}r (h ]h#]h$]h%]h(]uh)M]h*hh+]r j9)r }r (hUhj hhhj<h}r (h ]h#]h$]h%]h(]uh)M]h*hh+]r (j?)r }r (hXReturnsr hj hhhjCh}r (h ]h#]h$]h%]h(]uh)Kh+]r h6XReturnsr r }r (hj hj ubaubjI)r }r (hX%bitflag logically AND-ed as (a & b) h}r (h ]h#]h$]h%]h(]uhj h+]r hX)r }r (hX#bitflag logically AND-ed as (a & b)r hj hhhhgh}r (h ]h#]h$]h%]h(]uh)M]h+]r h6X#bitflag logically AND-ed as (a & b)r r }r (hj hj ubaubahjVubeubaubeubh)r }r (hUhhhhhhh}r (h ]h#]h$]h%]r hah(]r hauh)Mah*hh+]r (h-)r }r (hhhj hhhh1h}r (h%]h$]h ]h#]h(]h3huh)Mah*hh+]r h6X Example(s)r r }r (hhhj ubaubj)r }r (hX:namespace p = boost::python; namespace np = boost::python::numpy; p::object tu = p::make_tuple('a','b','c') ; np::ndarray example_tuple = np::array (tu) ; p::list l ; np::ndarray example_list = np::array (l) ; np::dtype dt = np::dtype::get_builtin(); np::ndarray example_list1 = np::array (l,dt); int data[] = {1,2,3,4} ; p::tuple shape = p::make_tuple(4) ; p::tuple stride = p::make_tuple(4) ; p::object own ; np::ndarray data_ex = np::from_data(data,dt,shape,stride,own); uint8_t mul_data[][4] = {{1,2,3,4},{5,6,7,8},{1,3,5,7}}; shape = p::make_tuple(3,2) ; stride = p::make_tuple(4,2) ; np::dtype dt1 = np::dtype::get_builtin(); np::ndarray mul_data_ex = np::from_data(mul_data,dt1, p::make_tuple(3,4),p::make_tuple(4,1),p::object()); mul_data_ex = np::from_data(mul_data,dt1, shape,stride,p::object());hj hhhjh}r (jjh%]h$]h ]h#]h(]uh)Meh*hh+]r h6X:namespace p = boost::python; namespace np = boost::python::numpy; p::object tu = p::make_tuple('a','b','c') ; np::ndarray example_tuple = np::array (tu) ; p::list l ; np::ndarray example_list = np::array (l) ; np::dtype dt = np::dtype::get_builtin(); np::ndarray example_list1 = np::array (l,dt); int data[] = {1,2,3,4} ; p::tuple shape = p::make_tuple(4) ; p::tuple stride = p::make_tuple(4) ; p::object own ; np::ndarray data_ex = np::from_data(data,dt,shape,stride,own); uint8_t mul_data[][4] = {{1,2,3,4},{5,6,7,8},{1,3,5,7}}; shape = p::make_tuple(3,2) ; stride = p::make_tuple(4,2) ; np::dtype dt1 = np::dtype::get_builtin(); np::ndarray mul_data_ex = np::from_data(mul_data,dt1, p::make_tuple(3,4),p::make_tuple(4,1),p::object()); mul_data_ex = np::from_data(mul_data,dt1, shape,stride,p::object());r r }r (hUhj ubaubeubeubhhhUsystem_messager h}r (h ]UlevelKh%]h$]r haUsourcehh#]h(]UlineKUtypeUINFOr uh)Kh*hh+]r hX)r }r (hX*Duplicate implicit target name: "ndarray".h}r (h ]h#]h$]h%]h(]uhhh+]r h6X*Duplicate implicit target name: "ndarray".r r }r (hUhj ubahhgubaubaUcurrent_sourcer NU decorationr NUautofootnote_startr KUnameidsr }r (hhhhhhh hh hyh hBh huh+]r hahUU transformerr NU footnote_refsr }r Urefnamesr }r h]r hasUsymbol_footnotesr ]r Uautofootnote_refsr ]r Usymbol_footnote_refsr ]r U citationsr ]r h*hU current_liner NUtransform_messagesr ]r h)r }r (hUh}r (h ]UlevelKh%]h$]Usourcehh#]h(]UlineK Utypej uh+]r hX)r }r (hUh}r (h ]h#]h$]h%]h(]uhj h+]r h6X+Hyperlink target "dtype" is not referenced.r r }r (hUhj ubahhgubahj ubaUreporterr NUid_startr KU autofootnotesr ]r U citation_refsr }r Uindirect_targetsr ]r Usettingsr (cdocutils.frontend Values r or }r (Ufootnote_backlinksr KUrecord_dependenciesr NU rfc_base_urlr Uhttps://tools.ietf.org/html/r U tracebackr Upep_referencesr NUstrip_commentsr NU toc_backlinksr Uentryr U language_coder Uenr U datestampr NU report_levelr KU _destinationr NU halt_levelr KU strip_classesr Nh1NUerror_encoding_error_handlerr Ubackslashreplacer Udebugr NUembed_stylesheetr Uoutput_encoding_error_handlerr Ustrictr U sectnum_xformr KUdump_transformsr NU docinfo_xformr KUwarning_streamr! NUpep_file_url_templater" Upep-%04dr# Uexit_status_levelr$ KUconfigr% NUstrict_visitorr& NUcloak_email_addressesr' Utrim_footnote_reference_spacer( Uenvr) NUdump_pseudo_xmlr* NUexpose_internalsr+ NUsectsubtitle_xformr, U source_linkr- NUrfc_referencesr. NUoutput_encodingr/ Uutf-8r0 U source_urlr1 NUinput_encodingr2 U utf-8-sigr3 U_disable_configr4 NU id_prefixr5 UU tab_widthr6 KUerror_encodingr7 Uasciir8 U_sourcer9 hUgettext_compactr: U generatorr; NUdump_internalsr< NU smart_quotesr= U pep_base_urlr> U https://www.python.org/dev/peps/r? Usyntax_highlightr@ UlongrA Uinput_encoding_error_handlerrB j Uauto_id_prefixrC UidrD Udoctitle_xformrE Ustrip_elements_with_classesrF NU _config_filesrG ]Ufile_insertion_enabledrH U raw_enabledrI KU dump_settingsrJ NubUsymbol_footnote_startrK KUidsrL }rM (h4h^hjhhhhhhhhhjhBh;hxhthhhyjhj h'huUsubstitution_namesrN }rO hh*h}rP (h ]h%]h$]Usourcehh#]h(]uU footnotesrQ ]rR UrefidsrS }rT ub.