Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/gen/il/low-il.spec
 [diderot] / branches / charisee / src / compiler / gen / il / low-il.spec

# Diff of /branches/charisee/src/compiler/gen/il/low-il.spec

revision 2844, Tue Dec 9 18:05:29 2014 UTC revision 2845, Fri Dec 12 06:46:23 2014 UTC
# Line 54  Line 54
54  Clamp : ty : 1 : 3 : clamp argument to range  Clamp : ty : 1 : 3 : clamp argument to range
55  # Lerp<ty>(a, b, t) -- computes a + t*(b-a)  # Lerp<ty>(a, b, t) -- computes a + t*(b-a)
56  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1  Lerp : ty : 1 : 3 : linear interpolation between 0 and 1
57  # Norm<ty>(x) -- returns the norm of the tensor x, which has type ty  # Norm<ty>(x) -- returns the norm of the tensor x, which has type ty, removed and replaced with EINOPPs in high-to-mid
58  #Norm : ty : 1 : 1 :  #Norm : ty : 1 : 1 :
59  # Normalize<n>(v)   -- returns the unit vector in direction u; n is the length ov u  # Normalize<n>(v)   -- returns the unit vector in direction u; n is the length ov u
60  Normalize : int : 1 : 1 :  Normalize : int : 1 : 1 :

Legend:
 Removed from v.2844 changed lines Added in v.2845