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

SCM Repository

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

Diff of /branches/ein16/synth/d2/obj_ex.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 295  Line 295 
295              return (ps_unu_all)              return (ps_unu_all)
296          elif((op1.id==op_norm.id) or (op1.id==op_normalize.id)):          elif((op1.id==op_norm.id) or (op1.id==op_normalize.id)):
297              return  ps_unu_all                # probe              return  ps_unu_all                # probe
298          elif((op1.id==op_trace.id) or (op1.id==op_transpose.id) or (op1.id==op_det.id)):          elif((op1.id==op_trace.id) or (op1.id==op_transpose.id)):
299                return get_k(get_mat_symmal)                # trace, transpose,det
300            elif((op1.id==op_det.id) or (op1.id==op_inverse.id)):
301              return get_k(get_mat_symmal)                # trace, transpose,det              return get_k(get_mat_symmal)                # trace, transpose,det
302              # symmetric matrices              # symmetric matrices
303          elif((op1.id==op_slicev0.id) or (op1.id==op_slicev1.id)) :          elif((op1.id==op_slicev0.id) or (op1.id==op_slicev1.id)) :
# Line 318  Line 320 
320              return get_k(get_scaF)              return get_k(get_scaF)
321          elif(op1.id==op_gradient.id):          elif(op1.id==op_gradient.id):
322              return get_k_noT(get_scaF) # differentiation only for scalar fields              return get_k_noT(get_scaF) # differentiation only for scalar fields
323          elif((op1.id==op_divergence.id) or (op1.id==op_curl.id)  or (op1.id==op_jacob.id)):          elif((op1.id==op_divergence.id) or (op1.id==op_curl.id)):
324              return  get_k_noT(get_vecF_samedim)              return  get_k_noT(get_vecF_samedim)
325            elif(op1.id==op_jacob.id):
326                return  get_k_noT(get_vecF_matF)
327              #vector arguments where [dim]=shape              #vector arguments where [dim]=shape
328              # divergence, curl, jacobian              # divergence, curl, jacobian
329      elif(op1.arity==2):      elif(op1.arity==2):

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