/[escript]/trunk/escript/test/python/UnaryOps.py
ViewVC logotype

Diff of /trunk/escript/test/python/UnaryOps.py

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

revision 147 by jgs, Fri Aug 12 01:45:47 2005 UTC revision 148 by jgs, Tue Aug 23 01:24:31 2005 UTC
# Line 187  for wh in [ContinuousFunction(msh),Funct Line 187  for wh in [ContinuousFunction(msh),Funct
187        # where zero:        # where zero:
188        ref=checkResult("where zero("+ex1+")", \        ref=checkResult("where zero("+ex1+")", \
189                        (arg1-3).whereZero(), \                        (arg1-3).whereZero(), \
190                        numarray.less_equal(numarray.abs(arrays1[0]-3.),EPSILON), \                        numarray.less_equal(numarray.abs(arrays1[0]-3.),0.0), \
191                        numarray.less_equal(numarray.abs(arrays1[1]-3.),EPSILON), \                        numarray.less_equal(numarray.abs(arrays1[1]-3.),0.0), \
192                        numarray.less_equal(numarray.abs(arrays1[2]-3.),EPSILON), \                        numarray.less_equal(numarray.abs(arrays1[2]-3.),0.0), \
193                        wh)                        wh)
194    
195        # where non-zero:        # where non-zero:
196        ref=checkResult("where nonzero("+ex1+")", \        ref=checkResult("where nonzero("+ex1+")", \
197                        (arg1-3).whereNonZero(), \                        (arg1-3).whereNonZero(), \
198                        numarray.greater(numarray.abs(arrays1[0]-3.),EPSILON), \                        numarray.greater(numarray.abs(arrays1[0]-3.),0.0), \
199                        numarray.greater(numarray.abs(arrays1[1]-3.),EPSILON), \                        numarray.greater(numarray.abs(arrays1[1]-3.),0.0), \
200                        numarray.greater(numarray.abs(arrays1[2]-3.),EPSILON), \                        numarray.greater(numarray.abs(arrays1[2]-3.),0.0), \
201                        wh)                        wh)
202    
203        # exponential function:        # exponential function:

Legend:
Removed from v.147  
changed lines
  Added in v.148

  ViewVC Help
Powered by ViewVC 1.1.26