Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

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

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

revision 2844, Tue Dec 9 18:05:29 2014 UTC revision 2845, Fri Dec 12 06:46:23 2014 UTC
# Line 31  Line 31
31  #  #
32  Sqrt : : 1 : 1 : returns the sqrt(used to replace norm)]  Sqrt : : 1 : 1 : returns the sqrt(used to replace norm)]
33  ### vector operations  ### vector operations

34  # 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
35    #In high-to-mid replaces op with EIN op. Implemented as summation over modulate
36  #Norm : ty : 1 : 1 :  #Norm : ty : 1 : 1 :
37  #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
38  Normalize : int : 1 : 1 :  Normalize : int : 1 : 1 :
39    sumVec : int : 1 : 2 : #takes summation over a vector
40  PrincipleEvec : ty : 1 : 2 : principle eigenvector; ty is result vector type  PrincipleEvec : ty : 1 : 2 : principle eigenvector; ty is result vector type
41  EigenVecs2x2 : : 1 : 1 : Eigen vectors and values for 2x2 matrix  EigenVecs2x2 : : 1 : 1 : Eigen vectors and values for 2x2 matrix
42  EigenVecs3x3 : : 1 : 1 : Eigen vectors and values for 3x3 matrix  EigenVecs3x3 : : 1 : 1 : Eigen vectors and values for 3x3 matrix

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