Package mpi4py :: Module MPI :: Class Op

[hide private]
[frames] | no frames]

# Class Op

Op

Instance Methods | [hide private]

Create(type cls, function, int 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) |

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

| is_commutative is commutative
Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(S, ...)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__