Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/ein16/synth/d2/obj_ty.py
ViewVC logotype

Diff of /branches/ein16/synth/d2/obj_ty.py

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

revision 4410, Fri Aug 12 18:28:32 2016 UTC revision 4411, Fri Aug 12 18:28:57 2016 UTC
# Line 261  Line 261 
261                  rtn.append(f)                  rtn.append(f)
262      return rtn      return rtn
263    
264    #list of vector fields (d)=n.
265    def get_vecF_matF(es):
266        rtn = []
267        # binary operator
268        for f in es:
269            if(fty.is_Vector(f) or fty.is_Matrix(f)):
270                rtn.append(f)
271        return rtn
272    
273    
274  #list of matrix fields  #list of matrix fields
275  def get_matF(es):  def get_matF(es):
# Line 269  Line 278 
278      for f in es:      for f in es:
279          if(fty.is_Matrix(f)):          if(fty.is_Matrix(f)):
280              rtn.append(f)              rtn.append(f)
281              print "ty", f.name              #print "ty", f.name
282      return rtn      return rtn
283    
284    

Legend:
Removed from v.4410  
changed lines
  Added in v.4411

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0