mpi4py.MPI.Op

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

# type Op

Op

Instance Methods | [hide private]
Create(type cls, function, bool commute=False) Create a user-defined operation |
Free(self) Free the operation |
Is_commutative(self) Query reduction operations for their commutativity |
Reduce_local(self, inbuf, inoutbuf) 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 |
f2py(type cls, arg) |
py2f(self) |

Properties | [hide private]
| is_commutative is commutative
| is_predefined is a predefined operation

Method Details | [hide private]

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