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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/translate/translate-basis.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/translate/translate-basis.sml

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

revision 695, Fri Mar 25 17:52:54 2011 UTC revision 717, Thu Mar 31 22:12:58 2011 UTC
# Line 112  Line 112 
112                  (BV.fn_max,             simpleOp Op.Max),                  (BV.fn_max,             simpleOp Op.Max),
113                  (BV.fn_min,             simpleOp Op.Min),                  (BV.fn_min,             simpleOp Op.Min),
114                  (BV.fn_modulate,        vectorOp Op.Mul),                  (BV.fn_modulate,        vectorOp Op.Mul),
115                    (BV.fn_normalize,       fn (y, [dv], xs) => (case pruneDim(MV.toDim dv)
116                                               of 1 => assign(y, Op.Abs DstTy.realTy, xs)
117                                                | n => assign(y, Op.Normalize(DstTy.tensorTy[n]), xs)
118                                              (* end case *))),
119                  (BV.fn_outer,           fn _ => raise Fail "outer not implemented yet"), (* FIXME *)                  (BV.fn_outer,           fn _ => raise Fail "outer not implemented yet"), (* FIXME *)
120                  (BV.fn_pow,             basisFn ILBasis.pow),                  (BV.fn_pow,             basisFn ILBasis.pow),
121                  (BV.fn_principleEvec,   vectorOp Op.PrincipleEvec),                  (BV.fn_principleEvec,   vectorOp Op.PrincipleEvec),

Legend:
Removed from v.695  
changed lines
  Added in v.717

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