Data Parallel Extension for NumPy
Overview
Quick Start Guide
API Reference
Multi-Dimensional Array (ndarray)
dpnp.ndarray
dpnp.dpnp_array.dpnp_array
Constructing arrays
Indexing arrays
Array attributes
Memory layout
Data type
Other attributes
Array methods
Array conversion
Shape manipulation
Item selection and manipulation
Calculation
Arithmetic, matrix multiplication, and comparison operations
dpnp.ndarray.__lt__
dpnp.ndarray.__le__
dpnp.ndarray.__gt__
dpnp.ndarray.__ge__
dpnp.ndarray.__eq__
dpnp.ndarray.__ne__
dpnp.ndarray.__bool__
dpnp.ndarray.__neg__
dpnp.ndarray.__pos__
dpnp.ndarray.__abs__
dpnp.ndarray.__invert__
dpnp.ndarray.__add__
dpnp.ndarray.__sub__
dpnp.ndarray.__mul__
dpnp.ndarray.__truediv__
dpnp.ndarray.__floordiv__
dpnp.ndarray.__mod__
dpnp.ndarray.__pow__
dpnp.ndarray.__lshift__
dpnp.ndarray.__rshift__
dpnp.ndarray.__and__
dpnp.ndarray.__or__
dpnp.ndarray.__xor__
dpnp.ndarray.__radd__
dpnp.ndarray.__rsub__
dpnp.ndarray.__rmul__
dpnp.ndarray.__rtruediv__
dpnp.ndarray.__rfloordiv__
dpnp.ndarray.__rmod__
dpnp.ndarray.__rpow__
dpnp.ndarray.__rlshift__
dpnp.ndarray.__rrshift__
dpnp.ndarray.__rand__
dpnp.ndarray.__ror__
dpnp.ndarray.__rxor__
dpnp.ndarray.__iadd__
dpnp.ndarray.__isub__
dpnp.ndarray.__imul__
dpnp.ndarray.__itruediv__
dpnp.ndarray.__ifloordiv__
dpnp.ndarray.__imod__
dpnp.ndarray.__ipow__
dpnp.ndarray.__ilshift__
dpnp.ndarray.__irshift__
dpnp.ndarray.__iand__
dpnp.ndarray.__ior__
dpnp.ndarray.__ixor__
dpnp.ndarray.__matmul__
dpnp.ndarray.__rmatmul__
dpnp.ndarray.__imatmul__
Special methods
Universal Functions (ufunc)
Routines
Special Functions
Available array data types
Comparison Table NumPy/ DPNP/ CuPy
Miscellaneous routines
Development information
C++ backend API Reference
Data Parallel Extension for NumPy
API Reference
Multi-Dimensional Array (ndarray)
dpnp.ndarray.__and__
View page source
dpnp.ndarray.__and__
method
ndarray.
__and__
(
other
)
Return
self&value
.