pub struct PyArrayAPI(/* private fields */);
Expand description
See PY_ARRAY_API for more.
Implementations§
Source§impl PyArrayAPI
impl PyArrayAPI
pub unsafe fn PyArray_GetNDArrayCVersion<'py>(&self, py: Python<'py>) -> c_uint
pub unsafe fn PyArray_SetNumericOps<'py>( &self, py: Python<'py>, dict: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_GetNumericOps<'py>( &self, py: Python<'py>, ) -> *mut PyObject
pub unsafe fn PyArray_INCREF<'py>( &self, py: Python<'py>, mp: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_XDECREF<'py>( &self, py: Python<'py>, mp: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_SetStringFunction<'py>( &self, py: Python<'py>, op: *mut PyObject, repr: c_int, )
pub unsafe fn PyArray_DescrFromType<'py>( &self, py: Python<'py>, type_: c_int, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_TypeObjectFromType<'py>( &self, py: Python<'py>, type_: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Zero<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, ) -> *mut c_char
pub unsafe fn PyArray_One<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, ) -> *mut c_char
pub unsafe fn PyArray_CastToType<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, dtype: *mut PyArray_Descr, is_f_order: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_CastTo<'py>( &self, py: Python<'py>, out: *mut PyArrayObject, mp: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_CanCastSafely<'py>( &self, py: Python<'py>, fromtype: c_int, totype: c_int, ) -> c_int
pub unsafe fn PyArray_CanCastTo<'py>( &self, py: Python<'py>, from: *mut PyArray_Descr, to: *mut PyArray_Descr, ) -> npy_bool
pub unsafe fn PyArray_ObjectType<'py>( &self, py: Python<'py>, op: *mut PyObject, minimum_type: c_int, ) -> c_int
pub unsafe fn PyArray_DescrFromObject<'py>( &self, py: Python<'py>, op: *mut PyObject, mintype: *mut PyArray_Descr, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_ConvertToCommonType<'py>( &self, py: Python<'py>, op: *mut PyObject, retn: *mut c_int, ) -> *mut *mut PyArrayObject
pub unsafe fn PyArray_DescrFromScalar<'py>( &self, py: Python<'py>, sc: *mut PyObject, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_DescrFromTypeObject<'py>( &self, py: Python<'py>, type_: *mut PyObject, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_Size<'py>( &self, py: Python<'py>, op: *mut PyObject, ) -> npy_intp
pub unsafe fn PyArray_Scalar<'py>( &self, py: Python<'py>, data: *mut c_void, descr: *mut PyArray_Descr, base: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_FromScalar<'py>( &self, py: Python<'py>, scalar: *mut PyObject, outcode: *mut PyArray_Descr, ) -> *mut PyObject
pub unsafe fn PyArray_ScalarAsCtype<'py>( &self, py: Python<'py>, scalar: *mut PyObject, ctypeptr: *mut c_void, )
pub unsafe fn PyArray_CastScalarToCtype<'py>( &self, py: Python<'py>, scalar: *mut PyObject, ctypeptr: *mut c_void, outcode: *mut PyArray_Descr, ) -> c_int
pub unsafe fn PyArray_CastScalarDirect<'py>( &self, py: Python<'py>, scalar: *mut PyObject, indescr: *mut PyArray_Descr, ctypeptr: *mut c_void, outtype: c_int, ) -> c_int
pub unsafe fn PyArray_ScalarFromObject<'py>( &self, py: Python<'py>, object: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_Pack<'py>( &self, py: Python<'py>, descr: *mut PyArray_Descr, item: *mut c_void, value: *const PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_GetCastFunc<'py>( &self, py: Python<'py>, descr: *mut PyArray_Descr, type_num: c_int, ) -> PyArray_VectorUnaryFunc
pub unsafe fn PyArray_FromDims<'py>( &self, py: Python<'py>, nd: c_int, d: *mut c_int, type_: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_FromDimsAndDataAndDescr<'py>( &self, py: Python<'py>, nd: c_int, d: *mut c_int, descr: *mut PyArray_Descr, data: *mut c_char, ) -> *mut PyObject
pub unsafe fn PyArray_FromAny<'py>( &self, py: Python<'py>, op: *mut PyObject, newtype: *mut PyArray_Descr, min_depth: c_int, max_depth: c_int, flags: c_int, context: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_EnsureArray<'py>( &self, py: Python<'py>, op: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_EnsureAnyArray<'py>( &self, py: Python<'py>, op: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_FromFile<'py>( &self, py: Python<'py>, fp: *mut FILE, dtype: *mut PyArray_Descr, num: npy_intp, sep: *mut c_char, ) -> *mut PyObject
pub unsafe fn PyArray_FromString<'py>( &self, py: Python<'py>, data: *mut c_char, slen: npy_intp, dtype: *mut PyArray_Descr, num: npy_intp, sep: *mut c_char, ) -> *mut PyObject
pub unsafe fn PyArray_FromBuffer<'py>( &self, py: Python<'py>, buf: *mut PyObject, type_: *mut PyArray_Descr, count: npy_intp, offset: npy_intp, ) -> *mut PyObject
pub unsafe fn PyArray_FromIter<'py>( &self, py: Python<'py>, obj: *mut PyObject, dtype: *mut PyArray_Descr, count: npy_intp, ) -> *mut PyObject
pub unsafe fn PyArray_Return<'py>( &self, py: Python<'py>, mp: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_GetField<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, typed: *mut PyArray_Descr, offset: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_SetField<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, dtype: *mut PyArray_Descr, offset: c_int, val: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_Byteswap<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, inplace: npy_bool, ) -> *mut PyObject
pub unsafe fn PyArray_Resize<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, newshape: *mut PyArray_Dims, refcheck: c_int, order: NPY_ORDER, ) -> *mut PyObject
pub unsafe fn PyArray_MoveInto<'py>( &self, py: Python<'py>, dst: *mut PyArrayObject, src: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_CopyObject<'py>( &self, py: Python<'py>, dest: *mut PyArrayObject, src_object: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_NewCopy<'py>( &self, py: Python<'py>, obj: *mut PyArrayObject, order: NPY_ORDER, ) -> *mut PyObject
pub unsafe fn PyArray_ToList<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_ToString<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, order: NPY_ORDER, ) -> *mut PyObject
pub unsafe fn PyArray_ToFile<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, fp: *mut FILE, sep: *mut c_char, format: *mut c_char, ) -> c_int
pub unsafe fn PyArray_Dump<'py>( &self, py: Python<'py>, self_: *mut PyObject, file: *mut PyObject, protocol: c_int, ) -> c_int
pub unsafe fn PyArray_Dumps<'py>( &self, py: Python<'py>, self_: *mut PyObject, protocol: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_ValidType<'py>( &self, py: Python<'py>, type_: c_int, ) -> c_int
pub unsafe fn PyArray_UpdateFlags<'py>( &self, py: Python<'py>, ret: *mut PyArrayObject, flagmask: c_int, )
pub unsafe fn PyArray_New<'py>( &self, py: Python<'py>, subtype: *mut PyTypeObject, nd: c_int, dims: *mut npy_intp, type_num: c_int, strides: *mut npy_intp, data: *mut c_void, itemsize: c_int, flags: c_int, obj: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_NewFromDescr<'py>( &self, py: Python<'py>, subtype: *mut PyTypeObject, descr: *mut PyArray_Descr, nd: c_int, dims: *mut npy_intp, strides: *mut npy_intp, data: *mut c_void, flags: c_int, obj: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_DescrNew<'py>( &self, py: Python<'py>, base: *mut PyArray_Descr, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_DescrNewFromType<'py>( &self, py: Python<'py>, type_num: c_int, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_GetPriority<'py>( &self, py: Python<'py>, obj: *mut PyObject, default_: f64, ) -> f64
pub unsafe fn PyArray_IterNew<'py>( &self, py: Python<'py>, obj: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_PyIntAsInt<'py>( &self, py: Python<'py>, o: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_PyIntAsIntp<'py>( &self, py: Python<'py>, o: *mut PyObject, ) -> npy_intp
pub unsafe fn PyArray_Broadcast<'py>( &self, py: Python<'py>, mit: *mut PyArrayMultiIterObject, ) -> c_int
pub unsafe fn PyArray_FillObjectArray<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, obj: *mut PyObject, )
pub unsafe fn PyArray_FillWithScalar<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, obj: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_CheckStrides<'py>( &self, py: Python<'py>, elsize: c_int, nd: c_int, numbytes: npy_intp, offset: npy_intp, dims: *mut npy_intp, newstrides: *mut npy_intp, ) -> npy_bool
pub unsafe fn PyArray_DescrNewByteorder<'py>( &self, py: Python<'py>, self_: *mut PyArray_Descr, newendian: c_char, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_IterAllButAxis<'py>( &self, py: Python<'py>, obj: *mut PyObject, inaxis: *mut c_int, ) -> *mut PyObject
pub unsafe fn PyArray_CheckFromAny<'py>( &self, py: Python<'py>, op: *mut PyObject, descr: *mut PyArray_Descr, min_depth: c_int, max_depth: c_int, requires: c_int, context: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_FromArray<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, newtype: *mut PyArray_Descr, flags: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_FromInterface<'py>( &self, py: Python<'py>, origin: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_FromStructInterface<'py>( &self, py: Python<'py>, input: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_FromArrayAttr<'py>( &self, py: Python<'py>, op: *mut PyObject, typecode: *mut PyArray_Descr, context: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_ScalarKind<'py>( &self, py: Python<'py>, typenum: c_int, arr: *mut *mut PyArrayObject, ) -> NPY_SCALARKIND
pub unsafe fn PyArray_CanCoerceScalar<'py>( &self, py: Python<'py>, thistype: c_int, neededtype: c_int, scalar: NPY_SCALARKIND, ) -> c_int
pub unsafe fn PyArray_NewFlagsObject<'py>( &self, py: Python<'py>, obj: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_CanCastScalar<'py>( &self, py: Python<'py>, from: *mut PyTypeObject, to: *mut PyTypeObject, ) -> npy_bool
pub unsafe fn PyArray_CompareUCS4<'py>( &self, py: Python<'py>, s1: *mut npy_ucs4, s2: *mut npy_ucs4, len: usize, ) -> c_int
pub unsafe fn PyArray_RemoveSmallest<'py>( &self, py: Python<'py>, multi: *mut PyArrayMultiIterObject, ) -> c_int
pub unsafe fn PyArray_ElementStrides<'py>( &self, py: Python<'py>, obj: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_Item_INCREF<'py>( &self, py: Python<'py>, data: *mut c_char, descr: *mut PyArray_Descr, )
pub unsafe fn PyArray_Item_XDECREF<'py>( &self, py: Python<'py>, data: *mut c_char, descr: *mut PyArray_Descr, )
pub unsafe fn PyArray_FieldNames<'py>( &self, py: Python<'py>, fields: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_Transpose<'py>( &self, py: Python<'py>, ap: *mut PyArrayObject, permute: *mut PyArray_Dims, ) -> *mut PyObject
pub unsafe fn PyArray_TakeFrom<'py>( &self, py: Python<'py>, self0: *mut PyArrayObject, indices0: *mut PyObject, axis: c_int, out: *mut PyArrayObject, clipmode: NPY_CLIPMODE, ) -> *mut PyObject
pub unsafe fn PyArray_PutTo<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, values0: *mut PyObject, indices0: *mut PyObject, clipmode: NPY_CLIPMODE, ) -> *mut PyObject
pub unsafe fn PyArray_PutMask<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, values0: *mut PyObject, mask0: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_Repeat<'py>( &self, py: Python<'py>, aop: *mut PyArrayObject, op: *mut PyObject, axis: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Choose<'py>( &self, py: Python<'py>, ip: *mut PyArrayObject, op: *mut PyObject, out: *mut PyArrayObject, clipmode: NPY_CLIPMODE, ) -> *mut PyObject
pub unsafe fn PyArray_Sort<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, axis: c_int, which: NPY_SORTKIND, ) -> c_int
pub unsafe fn PyArray_ArgSort<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, axis: c_int, which: NPY_SORTKIND, ) -> *mut PyObject
pub unsafe fn PyArray_SearchSorted<'py>( &self, py: Python<'py>, op1: *mut PyArrayObject, op2: *mut PyObject, side: NPY_SEARCHSIDE, perm: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_ArgMax<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_ArgMin<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Reshape<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, shape: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_Newshape<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, newdims: *mut PyArray_Dims, order: NPY_ORDER, ) -> *mut PyObject
pub unsafe fn PyArray_Squeeze<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_View<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, type_: *mut PyArray_Descr, pytype: *mut PyTypeObject, ) -> *mut PyObject
pub unsafe fn PyArray_SwapAxes<'py>( &self, py: Python<'py>, ap: *mut PyArrayObject, a1: c_int, a2: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Max<'py>( &self, py: Python<'py>, ap: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Min<'py>( &self, py: Python<'py>, ap: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Ptp<'py>( &self, py: Python<'py>, ap: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Mean<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, rtype: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Trace<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, offset: c_int, axis1: c_int, axis2: c_int, rtype: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Diagonal<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, offset: c_int, axis1: c_int, axis2: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Clip<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, min: *mut PyObject, max: *mut PyObject, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Conjugate<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Nonzero<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Std<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, rtype: c_int, out: *mut PyArrayObject, variance: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Sum<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, rtype: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_CumSum<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, rtype: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Prod<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, rtype: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_CumProd<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, rtype: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_All<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Any<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Compress<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, condition: *mut PyObject, axis: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_Flatten<'py>( &self, py: Python<'py>, a: *mut PyArrayObject, order: NPY_ORDER, ) -> *mut PyObject
pub unsafe fn PyArray_Ravel<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, order: NPY_ORDER, ) -> *mut PyObject
pub unsafe fn PyArray_MultiplyList<'py>( &self, py: Python<'py>, l1: *mut npy_intp, n: c_int, ) -> npy_intp
pub unsafe fn PyArray_MultiplyIntList<'py>( &self, py: Python<'py>, l1: *mut c_int, n: c_int, ) -> c_int
pub unsafe fn PyArray_GetPtr<'py>( &self, py: Python<'py>, obj: *mut PyArrayObject, ind: *mut npy_intp, ) -> *mut c_void
pub unsafe fn PyArray_CompareLists<'py>( &self, py: Python<'py>, l1: *mut npy_intp, l2: *mut npy_intp, n: c_int, ) -> c_int
pub unsafe fn PyArray_AsCArray<'py>( &self, py: Python<'py>, op: *mut *mut PyObject, ptr: *mut c_void, dims: *mut npy_intp, nd: c_int, typedescr: *mut PyArray_Descr, ) -> c_int
pub unsafe fn PyArray_As1D<'py>( &self, py: Python<'py>, op: *mut *mut PyObject, ptr: *mut *mut c_char, d1: *mut c_int, typecode: c_int, ) -> c_int
pub unsafe fn PyArray_As2D<'py>( &self, py: Python<'py>, op: *mut *mut PyObject, ptr: *mut *mut *mut c_char, d1: *mut c_int, d2: *mut c_int, typecode: c_int, ) -> c_int
pub unsafe fn PyArray_Free<'py>( &self, py: Python<'py>, op: *mut PyObject, ptr: *mut c_void, ) -> c_int
pub unsafe fn PyArray_Converter<'py>( &self, py: Python<'py>, object: *mut PyObject, address: *mut *mut PyObject, ) -> c_int
pub unsafe fn PyArray_IntpFromSequence<'py>( &self, py: Python<'py>, seq: *mut PyObject, vals: *mut npy_intp, maxvals: c_int, ) -> c_int
pub unsafe fn PyArray_Concatenate<'py>( &self, py: Python<'py>, op: *mut PyObject, axis: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_InnerProduct<'py>( &self, py: Python<'py>, op1: *mut PyObject, op2: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_MatrixProduct<'py>( &self, py: Python<'py>, op1: *mut PyObject, op2: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_CopyAndTranspose<'py>( &self, py: Python<'py>, op: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_Correlate<'py>( &self, py: Python<'py>, op1: *mut PyObject, op2: *mut PyObject, mode: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_TypestrConvert<'py>( &self, py: Python<'py>, itemsize: c_int, gentype: c_int, ) -> c_int
pub unsafe fn PyArray_DescrConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, at: *mut *mut PyArray_Descr, ) -> c_int
pub unsafe fn PyArray_DescrConverter2<'py>( &self, py: Python<'py>, obj: *mut PyObject, at: *mut *mut PyArray_Descr, ) -> c_int
pub unsafe fn PyArray_IntpConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, seq: *mut PyArray_Dims, ) -> c_int
pub unsafe fn PyArray_BufferConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, buf: *mut PyArray_Chunk, ) -> c_int
pub unsafe fn PyArray_AxisConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, axis: *mut c_int, ) -> c_int
pub unsafe fn PyArray_BoolConverter<'py>( &self, py: Python<'py>, object: *mut PyObject, val: *mut npy_bool, ) -> c_int
pub unsafe fn PyArray_ByteorderConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, endian: *mut c_char, ) -> c_int
pub unsafe fn PyArray_OrderConverter<'py>( &self, py: Python<'py>, object: *mut PyObject, val: *mut NPY_ORDER, ) -> c_int
pub unsafe fn PyArray_EquivTypes<'py>( &self, py: Python<'py>, type1: *mut PyArray_Descr, type2: *mut PyArray_Descr, ) -> c_uchar
pub unsafe fn PyArray_Zeros<'py>( &self, py: Python<'py>, nd: c_int, dims: *mut npy_intp, type_: *mut PyArray_Descr, is_f_order: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Empty<'py>( &self, py: Python<'py>, nd: c_int, dims: *mut npy_intp, type_: *mut PyArray_Descr, is_f_order: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Where<'py>( &self, py: Python<'py>, condition: *mut PyObject, x: *mut PyObject, y: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_Arange<'py>( &self, py: Python<'py>, start: f64, stop: f64, step: f64, type_num: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_ArangeObj<'py>( &self, py: Python<'py>, start: *mut PyObject, stop: *mut PyObject, step: *mut PyObject, dtype: *mut PyArray_Descr, ) -> *mut PyObject
pub unsafe fn PyArray_SortkindConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, sortkind: *mut NPY_SORTKIND, ) -> c_int
pub unsafe fn PyArray_LexSort<'py>( &self, py: Python<'py>, sort_keys: *mut PyObject, axis: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_Round<'py>( &self, py: Python<'py>, a: *mut PyArrayObject, decimals: c_int, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_EquivTypenums<'py>( &self, py: Python<'py>, typenum1: c_int, typenum2: c_int, ) -> c_uchar
pub unsafe fn PyArray_RegisterDataType<'py>( &self, py: Python<'py>, descr: *mut PyArray_DescrProto, ) -> c_int
pub unsafe fn PyArray_RegisterCastFunc<'py>( &self, py: Python<'py>, descr: *mut PyArray_Descr, totype: c_int, castfunc: PyArray_VectorUnaryFunc, ) -> c_int
pub unsafe fn PyArray_RegisterCanCast<'py>( &self, py: Python<'py>, descr: *mut PyArray_Descr, totype: c_int, scalar: NPY_SCALARKIND, ) -> c_int
pub unsafe fn PyArray_InitArrFuncs<'py>( &self, py: Python<'py>, f: *mut PyArray_ArrFuncs, )
pub unsafe fn PyArray_IntTupleFromIntp<'py>( &self, py: Python<'py>, len: c_int, vals: *mut npy_intp, ) -> *mut PyObject
pub unsafe fn PyArray_ElementFromName<'py>( &self, py: Python<'py>, str: *mut c_char, ) -> c_int
pub unsafe fn PyArray_ClipmodeConverter<'py>( &self, py: Python<'py>, object: *mut PyObject, val: *mut NPY_CLIPMODE, ) -> c_int
pub unsafe fn PyArray_OutputConverter<'py>( &self, py: Python<'py>, object: *mut PyObject, address: *mut *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_BroadcastToShape<'py>( &self, py: Python<'py>, obj: *mut PyObject, dims: *mut npy_intp, nd: c_int, ) -> *mut PyObject
pub unsafe fn _PyArray_SigintHandler<'py>(&self, py: Python<'py>, signum: c_int)
pub unsafe fn _PyArray_GetSigintBuf<'py>(&self, py: Python<'py>) -> *mut c_void
pub unsafe fn PyArray_DescrAlignConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, at: *mut *mut PyArray_Descr, ) -> c_int
pub unsafe fn PyArray_DescrAlignConverter2<'py>( &self, py: Python<'py>, obj: *mut PyObject, at: *mut *mut PyArray_Descr, ) -> c_int
pub unsafe fn PyArray_SearchsideConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, addr: *mut c_void, ) -> c_int
pub unsafe fn PyArray_CheckAxis<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, axis: *mut c_int, flags: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_OverflowMultiplyList<'py>( &self, py: Python<'py>, l1: *mut npy_intp, n: c_int, ) -> npy_intp
pub unsafe fn PyArray_CompareString<'py>( &self, py: Python<'py>, s1: *mut c_char, s2: *mut c_char, len: usize, ) -> c_int
pub unsafe fn PyArray_GetEndianness<'py>(&self, py: Python<'py>) -> c_int
pub unsafe fn PyArray_GetNDArrayCFeatureVersion<'py>( &self, py: Python<'py>, ) -> c_uint
pub unsafe fn PyArray_Correlate2<'py>( &self, py: Python<'py>, op1: *mut PyObject, op2: *mut PyObject, mode: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_NeighborhoodIterNew<'py>( &self, py: Python<'py>, x: *mut PyArrayIterObject, bounds: *mut npy_intp, mode: c_int, fill: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_SetDatetimeParseFunction<'py>( &self, py: Python<'py>, op: *mut PyObject, )
pub unsafe fn PyArray_DatetimeToDatetimeStruct<'py>( &self, py: Python<'py>, val: npy_datetime, fr: NPY_DATETIMEUNIT, result: *mut npy_datetimestruct, )
pub unsafe fn PyArray_TimedeltaToTimedeltaStruct<'py>( &self, py: Python<'py>, val: npy_timedelta, fr: NPY_DATETIMEUNIT, result: *mut npy_timedeltastruct, )
pub unsafe fn PyArray_DatetimeStructToDatetime<'py>( &self, py: Python<'py>, fr: NPY_DATETIMEUNIT, d: *mut npy_datetimestruct, ) -> npy_datetime
pub unsafe fn PyArray_TimedeltaStructToTimedelta<'py>( &self, py: Python<'py>, fr: NPY_DATETIMEUNIT, d: *mut npy_timedeltastruct, ) -> npy_datetime
pub unsafe fn NpyIter_New<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, flags: npy_uint32, order: NPY_ORDER, casting: NPY_CASTING, dtype: *mut PyArray_Descr, ) -> *mut NpyIter
pub unsafe fn NpyIter_MultiNew<'py>( &self, py: Python<'py>, nop: c_int, op_in: *mut *mut PyArrayObject, flags: npy_uint32, order: NPY_ORDER, casting: NPY_CASTING, op_flags: *mut npy_uint32, op_request_dtypes: *mut *mut PyArray_Descr, ) -> *mut NpyIter
pub unsafe fn NpyIter_AdvancedNew<'py>( &self, py: Python<'py>, nop: c_int, op_in: *mut *mut PyArrayObject, flags: npy_uint32, order: NPY_ORDER, casting: NPY_CASTING, op_flags: *mut npy_uint32, op_request_dtypes: *mut *mut PyArray_Descr, oa_ndim: c_int, op_axes: *mut *mut c_int, itershape: *mut npy_intp, buffersize: npy_intp, ) -> *mut NpyIter
pub unsafe fn NpyIter_Copy<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut NpyIter
pub unsafe fn NpyIter_Deallocate<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> c_int
pub unsafe fn NpyIter_HasDelayedBufAlloc<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_HasExternalLoop<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_EnableExternalLoop<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> c_int
pub unsafe fn NpyIter_GetInnerStrideArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut npy_intp
pub unsafe fn NpyIter_GetInnerLoopSizePtr<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut npy_intp
pub unsafe fn NpyIter_Reset<'py>( &self, py: Python<'py>, iter: *mut NpyIter, errmsg: *mut *mut c_char, ) -> c_int
pub unsafe fn NpyIter_ResetBasePointers<'py>( &self, py: Python<'py>, iter: *mut NpyIter, baseptrs: *mut *mut c_char, errmsg: *mut *mut c_char, ) -> c_int
pub unsafe fn NpyIter_ResetToIterIndexRange<'py>( &self, py: Python<'py>, iter: *mut NpyIter, istart: npy_intp, iend: npy_intp, errmsg: *mut *mut c_char, ) -> c_int
pub unsafe fn NpyIter_GetNDim<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> c_int
pub unsafe fn NpyIter_GetNOp<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> c_int
pub unsafe fn NpyIter_GetIterNext<'py>( &self, py: Python<'py>, iter: *mut NpyIter, errmsg: *mut *mut c_char, ) -> NpyIter_IterNextFunc
pub unsafe fn NpyIter_GetIterSize<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_intp
pub unsafe fn NpyIter_GetIterIndexRange<'py>( &self, py: Python<'py>, iter: *mut NpyIter, istart: *mut npy_intp, iend: *mut npy_intp, )
pub unsafe fn NpyIter_GetIterIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_intp
pub unsafe fn NpyIter_GotoIterIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, iterindex: npy_intp, ) -> c_int
pub unsafe fn NpyIter_HasMultiIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_GetShape<'py>( &self, py: Python<'py>, iter: *mut NpyIter, outshape: *mut npy_intp, ) -> c_int
pub unsafe fn NpyIter_GetGetMultiIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, errmsg: *mut *mut c_char, ) -> NpyIter_GetMultiIndexFunc
pub unsafe fn NpyIter_GotoMultiIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, multi_index: *mut npy_intp, ) -> c_int
pub unsafe fn NpyIter_RemoveMultiIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> c_int
pub unsafe fn NpyIter_HasIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_IsBuffered<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_IsGrowInner<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_GetBufferSize<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_intp
pub unsafe fn NpyIter_GetIndexPtr<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut npy_intp
pub unsafe fn NpyIter_GotoIndex<'py>( &self, py: Python<'py>, iter: *mut NpyIter, flat_index: npy_intp, ) -> c_int
pub unsafe fn NpyIter_GetDataPtrArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut *mut c_char
pub unsafe fn NpyIter_GetDescrArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut *mut PyArray_Descr
pub unsafe fn NpyIter_GetOperandArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut *mut PyArrayObject
pub unsafe fn NpyIter_GetIterView<'py>( &self, py: Python<'py>, iter: *mut NpyIter, i: npy_intp, ) -> *mut PyArrayObject
pub unsafe fn NpyIter_GetReadFlags<'py>( &self, py: Python<'py>, iter: *mut NpyIter, outreadflags: *mut c_char, )
pub unsafe fn NpyIter_GetWriteFlags<'py>( &self, py: Python<'py>, iter: *mut NpyIter, outwriteflags: *mut c_char, )
pub unsafe fn NpyIter_DebugPrint<'py>( &self, py: Python<'py>, iter: *mut NpyIter, )
pub unsafe fn NpyIter_IterationNeedsAPI<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_GetInnerFixedStrideArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, out_strides: *mut npy_intp, )
pub unsafe fn NpyIter_RemoveAxis<'py>( &self, py: Python<'py>, iter: *mut NpyIter, axis: c_int, ) -> c_int
pub unsafe fn NpyIter_GetAxisStrideArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, axis: c_int, ) -> *mut npy_intp
pub unsafe fn NpyIter_RequiresBuffering<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> npy_bool
pub unsafe fn NpyIter_GetInitialDataPtrArray<'py>( &self, py: Python<'py>, iter: *mut NpyIter, ) -> *mut *mut c_char
pub unsafe fn NpyIter_CreateCompatibleStrides<'py>( &self, py: Python<'py>, iter: *mut NpyIter, itemsize: npy_intp, outstrides: *mut npy_intp, ) -> c_int
pub unsafe fn PyArray_CastingConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, casting: *mut NPY_CASTING, ) -> c_int
pub unsafe fn PyArray_CountNonzero<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, ) -> npy_intp
pub unsafe fn PyArray_PromoteTypes<'py>( &self, py: Python<'py>, type1: *mut PyArray_Descr, type2: *mut PyArray_Descr, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_MinScalarType<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_ResultType<'py>( &self, py: Python<'py>, narrs: npy_intp, arr: *mut *mut PyArrayObject, ndtypes: npy_intp, dtypes: *mut *mut PyArray_Descr, ) -> *mut PyArray_Descr
pub unsafe fn PyArray_CanCastArrayTo<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, to: *mut PyArray_Descr, casting: NPY_CASTING, ) -> npy_bool
pub unsafe fn PyArray_CanCastTypeTo<'py>( &self, py: Python<'py>, from: *mut PyArray_Descr, to: *mut PyArray_Descr, casting: NPY_CASTING, ) -> npy_bool
pub unsafe fn PyArray_EinsteinSum<'py>( &self, py: Python<'py>, subscripts: *mut c_char, nop: npy_intp, op_in: *mut *mut PyArrayObject, dtype: *mut PyArray_Descr, order: NPY_ORDER, casting: NPY_CASTING, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_NewLikeArray<'py>( &self, py: Python<'py>, prototype: *mut PyArrayObject, order: NPY_ORDER, dtype: *mut PyArray_Descr, subok: c_int, ) -> *mut PyObject
pub unsafe fn PyArray_GetArrayParamsFromObject<'py>( &self, py: Python<'py>, op: *mut PyObject, requested_dtype: *mut PyArray_Descr, writeable: npy_bool, out_dtype: *mut *mut PyArray_Descr, out_ndim: *mut c_int, out_dims: *mut npy_intp, out_arr: *mut *mut PyArrayObject, context: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_ConvertClipmodeSequence<'py>( &self, py: Python<'py>, object: *mut PyObject, modes: *mut NPY_CLIPMODE, n: c_int, ) -> c_int
pub unsafe fn PyArray_MatrixProduct2<'py>( &self, py: Python<'py>, op1: *mut PyObject, op2: *mut PyObject, out: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn NpyIter_IsFirstVisit<'py>( &self, py: Python<'py>, iter: *mut NpyIter, iop: c_int, ) -> npy_bool
pub unsafe fn PyArray_SetBaseObject<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, obj: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_CreateSortedStridePerm<'py>( &self, py: Python<'py>, ndim: c_int, strides: *mut npy_intp, out_strideperm: *mut npy_stride_sort_item, )
pub unsafe fn PyArray_RemoveAxesInPlace<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, flags: *mut npy_bool, )
pub unsafe fn PyArray_DebugPrint<'py>( &self, py: Python<'py>, obj: *mut PyArrayObject, )
pub unsafe fn PyArray_FailUnlessWriteable<'py>( &self, py: Python<'py>, obj: *mut PyArrayObject, name: *const c_char, ) -> c_int
pub unsafe fn PyArray_SetUpdateIfCopyBase<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, base: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyDataMem_NEW<'py>( &self, py: Python<'py>, size: usize, ) -> *mut c_void
pub unsafe fn PyDataMem_FREE<'py>(&self, py: Python<'py>, ptr: *mut c_void)
pub unsafe fn PyDataMem_RENEW<'py>( &self, py: Python<'py>, ptr: *mut c_void, size: usize, ) -> *mut c_void
pub unsafe fn PyDataMem_SetEventHook<'py>( &self, py: Python<'py>, newhook: PyDataMem_EventHookFunc, user_data: *mut c_void, old_data: *mut *mut c_void, ) -> PyDataMem_EventHookFunc
pub unsafe fn PyArray_MapIterSwapAxes<'py>( &self, py: Python<'py>, mit: *mut PyArrayMapIterObject, ret: *mut *mut PyArrayObject, getmap: c_int, )
pub unsafe fn PyArray_MapIterArray<'py>( &self, py: Python<'py>, a: *mut PyArrayObject, index: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyArray_MapIterNext<'py>( &self, py: Python<'py>, mit: *mut PyArrayMapIterObject, )
pub unsafe fn PyArray_Partition<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, ktharray: *mut PyArrayObject, axis: c_int, which: NPY_SELECTKIND, ) -> c_int
pub unsafe fn PyArray_ArgPartition<'py>( &self, py: Python<'py>, op: *mut PyArrayObject, ktharray: *mut PyArrayObject, axis: c_int, which: NPY_SELECTKIND, ) -> *mut PyObject
pub unsafe fn PyArray_SelectkindConverter<'py>( &self, py: Python<'py>, obj: *mut PyObject, selectkind: *mut NPY_SELECTKIND, ) -> c_int
pub unsafe fn PyDataMem_NEW_ZEROED<'py>( &self, py: Python<'py>, size: usize, elsize: usize, ) -> *mut c_void
pub unsafe fn PyArray_CheckAnyScalarExact<'py>( &self, py: Python<'py>, obj: *mut PyObject, ) -> c_int
pub unsafe fn PyArray_MapIterArrayCopyIfOverlap<'py>( &self, py: Python<'py>, a: *mut PyArrayObject, index: *mut PyObject, copy_if_overlap: c_int, extra_op: *mut PyArrayObject, ) -> *mut PyObject
pub unsafe fn PyArray_ResolveWritebackIfCopy<'py>( &self, py: Python<'py>, self_: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_SetWritebackIfCopyBase<'py>( &self, py: Python<'py>, arr: *mut PyArrayObject, base: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyDataMem_SetHandler<'py>( &self, py: Python<'py>, handler: *mut PyObject, ) -> *mut PyObject
pub unsafe fn PyDataMem_GetHandler<'py>(&self, py: Python<'py>) -> *mut PyObject
pub unsafe fn NpyDatetime_ConvertDatetime64ToDatetimeStruct<'py>( &self, py: Python<'py>, meta: *mut PyArray_DatetimeMetaData, dt: npy_datetime, out: *mut npy_datetimestruct, ) -> c_int
pub unsafe fn NpyDatetime_ConvertDatetimeStructToDatetime64<'py>( &self, py: Python<'py>, meta: *mut PyArray_DatetimeMetaData, dts: *const npy_datetimestruct, out: *mut npy_datetime, ) -> c_int
pub unsafe fn NpyDatetime_ConvertPyDateTimeToDatetimeStruct<'py>( &self, py: Python<'py>, obj: *mut PyObject, out: *mut npy_datetimestruct, out_bestunit: *mut NPY_DATETIMEUNIT, apply_tzinfo: c_int, ) -> c_int
pub unsafe fn NpyDatetime_GetDatetimeISO8601StrLen<'py>( &self, py: Python<'py>, local: c_int, base: NPY_DATETIMEUNIT, ) -> c_int
pub unsafe fn NpyDatetime_MakeISO8601Datetime<'py>( &self, py: Python<'py>, dts: *mut npy_datetimestruct, outstr: *mut c_char, outlen: npy_intp, local: c_int, utc: c_int, base: NPY_DATETIMEUNIT, tzoffset: c_int, casting: NPY_CASTING, ) -> c_int
pub unsafe fn NpyDatetime_ParseISO8601Datetime<'py>( &self, py: Python<'py>, str: *const c_char, len: Py_ssize_t, unit: NPY_DATETIMEUNIT, casting: NPY_CASTING, out: *mut npy_datetimestruct, out_bestunit: *mut NPY_DATETIMEUNIT, out_special: *mut npy_bool, ) -> c_int
pub unsafe fn NpyString_load<'py>( &self, py: Python<'py>, allocator: *mut npy_string_allocator, packed_string: *const npy_packed_static_string, unpacked_string: *mut npy_static_string, ) -> c_int
pub unsafe fn NpyString_pack<'py>( &self, py: Python<'py>, out: *mut npy_packed_static_string, ) -> c_int
pub unsafe fn NpyString_pack_null<'py>( &self, py: Python<'py>, allocator: *mut npy_string_allocator, packed_string: *mut npy_packed_static_string, ) -> c_int
pub unsafe fn NpyString_acquire_allocator<'py>( &self, py: Python<'py>, descr: *const PyArray_StringDTypeObject, ) -> *mut npy_string_allocator
pub unsafe fn NpyString_acquire_allocators<'py>( &self, py: Python<'py>, n_descriptors: usize, descrs: *const *mut PyArray_Descr, allocators: *mut *mut npy_string_allocator, )
pub unsafe fn NpyString_release_allocator<'py>( &self, py: Python<'py>, allocator: *mut npy_string_allocator, )
pub unsafe fn NpyString_release_allocators<'py>( &self, py: Python<'py>, length: usize, allocators: *mut *mut npy_string_allocator, )
pub unsafe fn PyArray_GetDefaultDescr<'py>( &self, py: Python<'py>, DType: *mut PyArray_DTypeMeta, ) -> *mut PyArray_Descr
pub unsafe fn PyArrayInitDTypeMeta_FromSpec<'py>( &self, py: Python<'py>, DType: *mut PyArray_DTypeMeta, spec: *mut PyArrayDTypeMeta_Spec, ) -> c_int
pub unsafe fn PyArray_CommonDType<'py>( &self, py: Python<'py>, dtype1: *mut PyArray_DTypeMeta, dtype2: *mut PyArray_DTypeMeta, ) -> PyArray_DTypeMeta
pub unsafe fn PyArray_PromoteDTypeSequence<'py>( &self, py: Python<'py>, length: npy_intp, dtypes_in: *mut *mut PyArray_DTypeMeta, ) -> *mut PyArray_DTypeMeta
pub unsafe fn _PyDataType_GetArrFuncs<'py>( &self, py: Python<'py>, descr: *const PyArray_Descr, ) -> *mut PyArray_ArrFuncs
pub unsafe fn PyArray_CopyInto<'py>( &self, py: Python<'py>, dst: *mut PyArrayObject, src: *mut PyArrayObject, ) -> c_int
pub unsafe fn PyArray_CastAnyTo<'py>( &self, py: Python<'py>, out: *mut PyArrayObject, mp: *mut PyArrayObject, ) -> c_int
Source§impl PyArrayAPI
impl PyArrayAPI
Sourcepub unsafe fn get_type_object<'py>(
&self,
py: Python<'py>,
ty: NpyTypes,
) -> *mut PyTypeObject
pub unsafe fn get_type_object<'py>( &self, py: Python<'py>, ty: NpyTypes, ) -> *mut PyTypeObject
Get a pointer of the type object assocaited with ty
.
Trait Implementations§
impl Send for PyArrayAPI
impl Sync for PyArrayAPI
Auto Trait Implementations§
impl !Freeze for PyArrayAPI
impl !RefUnwindSafe for PyArrayAPI
impl Unpin for PyArrayAPI
impl UnwindSafe for PyArrayAPI
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.