Package Scientific :: Package BSP :: Class ParData
[hide private]
[frames] | no frames]

Class ParData



object --+    
         |    
  ParValue --+
             |
            ParData

Global data

A subclass of ParValue that calculates its local value from the processor number.

Instance Methods [hide private]
  __init__(self, function)

Inherited from ParValue: __add__, __call__, __div__, __divmod__, __eq__, __ge__, __getattr__, __getitem__, __gt__, __le__, __len__, __lt__, __mod__, __mul__, __ne__, __neg__, __nonzero__, __pow__, __repr__, __str__, __sub__, accumulate, alltrue, anytrue, broadcast, fullExchange, get, getattr, map, put, reduce

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Class Variables [hide private]

Inherited from ParValue: is_parvalue


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, function)
(Constructor)

 
Parameters:
  • function (function of two arguments) - a function that is called with two arguments (processor number and number of processors in the system) and whose return value becomes the local value of the global object.
Overrides: ParValue.__init__