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

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/basis/basis.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/basis/basis.sml

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

revision 2602, Wed Apr 23 20:01:52 2014 UTC revision 2603, Thu Apr 24 03:58:37 2014 UTC
# Line 24  Line 24 
24    (* non-overloaded operators, etc. *)    (* non-overloaded operators, etc. *)
25      val basisFunctions = [      val basisFunctions = [
26          (* non-overloaded operators *)          (* non-overloaded operators *)
27            BV.op_cross,           (* BV.op_cross,*)
28    
29              (* Made outer product an overloaded operator *)              (* Made outer product an overloaded operator *)
30              (*BV.op_outer, BV.op_outerField,*)              (*BV.op_outer, BV.op_outerField,*)
# Line 41  Line 41 
41            BV.fn_min,            BV.fn_min,
42            BV.fn_modulate,            BV.fn_modulate,
43            BV.fn_normalize,            BV.fn_normalize,
44            BV.fn_principleEvec,            BV.fn_principleEvec
45            BV.fn_trace,            (*, BV.fn_trace,
46            BV.fn_transpose            BV.fn_transpose*)
47          ] @ (List.map #2 BV.mathFns)          ] @ (List.map #2 BV.mathFns)
48    
49      val basisVars = [      val basisVars = [
# Line 77  Line 77 
77            (*Adding outer as a overloaded operator*)            (*Adding outer as a overloaded operator*)
78            (N.op_outer,[BV.op_outer,BV.op_outerField]),            (N.op_outer,[BV.op_outer,BV.op_outerField]),
79            ( N.op_dot, [BV.op_inner,BV.op_innerField] ),            ( N.op_dot, [BV.op_inner,BV.op_innerField] ),
80              (N.op_cross, [BV.op_cross,BV.op_crossField]),
81              ( N.fn_trace, [BV.fn_trace,BV.fn_traceField]),
82               (N.fn_transpose, [BV.fn_transpose,BV.fn_transposeField]),
83    
84            (N.fn_clamp, [BV.clamp_rrr, BV.clamp_vvv]),            (N.fn_clamp, [BV.clamp_rrr, BV.clamp_vvv]),
85            (N.fn_lerp, [BV.lerp5, BV.lerp3]),            (N.fn_lerp, [BV.lerp5, BV.lerp3]),

Legend:
Removed from v.2602  
changed lines
  Added in v.2603

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