/[escript]/trunk/escript/py_src/symbolic/symbol.py
ViewVC logotype

Diff of /trunk/escript/py_src/symbolic/symbol.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3872 by caltinay, Fri Mar 16 00:48:46 2012 UTC revision 3902 by caltinay, Fri Jun 1 03:35:51 2012 UTC
# Line 197  class Symbol(object): Line 197  class Symbol(object):
197      def __iter__(self):      def __iter__(self):
198          return self._arr.__iter__          return self._arr.__iter__
199    
200      def __array__(self):      def __array__(self, t=None):
201          return self._arr          if t:
202                return self._arr.astype(t)
203            else:
204                return self._arr
205    
206      def _sympy_(self):      def _sympy_(self):
207          """          """

Legend:
Removed from v.3872  
changed lines
  Added in v.3902

  ViewVC Help
Powered by ViewVC 1.1.26