Logo Search packages:      
Sourcecode: python-scientific version File versions  Download package

Scientific::BSP::core::ParTuple Class Reference

Inheritance diagram for Scientific::BSP::core::ParTuple:

Scientific::BSP::core::ParValue

List of all members.


Detailed Description

Global data tuple

A subclass of ParValue.

Constructor: ParTuple(|x1|, |x2|, ...)

Arguments:

|x1|, |x2|, ... -- global objects

ParTuple objects are used to speed up communication when many data
items need to be sent to the same processors. The construct
a, b, c = ParTuple(a, b, c).put(pids) is logically equivalent to
a = a.put(pids); b = b.put(pids); c = c.put(pids) but more efficient.

Definition at line 690 of file core.py.


Public Member Functions

def __add__
def __call__
def __div__
def __divmod__
def __eq__
def __ge__
def __getattr__
def __getitem__
def __gt__
def __init__
def __init__
def __le__
def __len__
def __lt__
def __mod__
def __mul__
def __ne__
def __neg__
def __nonzero__
def __pow__
def __repr__
def __sub__
def accumulate
def alltrue
def anytrue
def broadcast
def fullExchange
def get
def getattr
def map
def put
def reduce

Public Attributes

 valid
 value

Static Public Attributes

int is_parvalue = 1

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index