;ò
‰Rã?c           @   s&   d  k  Z  d e  i  f d „  ƒ  YZ d  S(   Ns
   NumberDictc           B   sk   t  Z d  Z d „  Z d „  Z d „  Z d „  Z d „  Z e Z d „  Z	 d „  Z
 d „  Z e Z d	 „  Z RS(
   sq  Dictionary storing numerical values

    Constructor: NumberDict()

    An instance of this class acts like an array of number with
    generalized (non-integer) indices. A value of zero is assumed
    for undefined entries. NumberDict instances support addition,
    and subtraction with other NumberDict instances, and multiplication
    and division by scalars.
    c         C   s   t  i  i |  d ƒ d  S(   Ni    (   s   DictWithDefaults   __init__s   self(   s   self(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __init__   s    c         C   s   t  |  i ƒ Sd  S(   N(   s   strs   selfs   data(   s   self(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __str__   s    c         C   s   t  |  i ƒ Sd  S(   N(   s   reprs   selfs   data(   s   self(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __repr__    s    c         C   sC   t  | ƒ t  h  ƒ j o t ƒ  } | | _ | } n |  | f Sd  S(   N(   s   types   others
   NumberDicts   news   datas   self(   s   selfs   others   new(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys
   __coerce__#   s
    		
c         C   sc   t  ƒ  } x" |  i ƒ  D] } |  | | | <q Wx* | i ƒ  D] } | | | | | | <q; W| Sd  S(   N(   s
   NumberDicts   sums   selfs   keyss   keys   other(   s   selfs   others   sums   key(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __add__*   s    	  c         C   sc   t  ƒ  } x" |  i ƒ  D] } |  | | | <q Wx* | i ƒ  D] } | | | | | | <q; W| Sd  S(   N(   s
   NumberDicts   sums   selfs   keyss   keys   other(   s   selfs   others   sums   key(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __sub__4   s    	  c         C   s   | |  Sd  S(   N(   s   others   self(   s   selfs   other(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __rsub__<   s    c         C   s:   t  ƒ  } x& |  i ƒ  D] } | |  | | | <q W| Sd  S(   N(   s
   NumberDicts   news   selfs   keyss   keys   other(   s   selfs   others   news   key(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __mul__?   s
    	 c         C   s:   t  ƒ  } x& |  i ƒ  D] } |  | | | | <q W| Sd  S(   N(   s
   NumberDicts   news   selfs   keyss   keys   other(   s   selfs   others   news   key(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   __div__G   s
    	 (   s   __name__s
   __module__s   __doc__s   __init__s   __str__s   __repr__s
   __coerce__s   __add__s   __radd__s   __sub__s   __rsub__s   __mul__s   __rmul__s   __div__(    (    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys
   NumberDict   s    								(   s   DictWithDefaults
   NumberDict(   s   DictWithDefaults
   NumberDict(    (    s@   /mit/python/lib/python2.3/site-packages/Scientific/NumberDict.pys   ?   s   	