mpi4py.MPI.Op

Package mpi4py :: Module MPI :: Class Op |
[hide private]
[frames] | no frames]

# Class Op

Operation object

Instance Methods | [hide private]
Op |
Create(cls, function: CallableBuffer=..., Buffer=..., Datatype=..., None=..., commute: bool= False) Create a user-defined operation |
None |
Free(self) Free the operation |
bool |
Is_commutative(self) Query reduction operations for their commutativity |
None |
Reduce_local(self, inbuf: BufSpec, inoutbuf: BufSpec) Apply a reduction operator to local data |
__call__(...) x(...) |
__eq__(y) x==y |
__ge__(y) x>=y |
__gt__(y) x>y |
__le__(y) x<=y |
__lt__(y) x<y |
__ne__(y) x!=y |
a new object with type S, a subtype of T |
__new__(S, ...) |
__nonzero__() x != 0 |
Op |
f2py(cls, arg: int) |
int |
py2f(self) |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| is_commutative Op.is_commutative: bool is commutative
| is_predefined Op.is_predefined: bool is a predefined operation
Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__