SCM Repository
[diderot] / trunk / src / basis / basis-names.sml |
View of /trunk/src/basis/basis-names.sml
Parent Directory
|
Revision Log
Revision 83 -
(download)
(annotate)
Wed May 26 18:50:44 2010 UTC (12 years, 1 month ago) by jhr
File size: 1304 byte(s)
Wed May 26 18:50:44 2010 UTC (12 years, 1 month ago) by jhr
File size: 1304 byte(s)
More work on the typechecker
(* basis-names.sml * * COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu) * All rights reserved. * * Builtin names used for Basis functions. *) structure BasisNames = struct (* binary operators *) val op_at = Atom.atom "@" val op_add = Atom.atom "+" val op_sub = Atom.atom "-" val op_mul = Atom.atom "*" val op_div = Atom.atom "/" val op_lt = Atom.atom "<" val op_lte = Atom.atom "<=" val op_equ = Atom.atom "==" val op_neq = Atom.atom "!=" val op_gte = Atom.atom ">=" val op_gt = Atom.atom ">" val op_subscript = Atom.atom "[]" (* unary operators *) val op_neg = Atom.atom "unary -" val op_not = Atom.atom "!" val op_D = Atom.atom "D" val op_norm = Atom.atom "|()|" (* function names *) val fn_CL = Atom.atom "CL" (* linear anisotropy measure *) val fn_convolve = Atom.atom "convolve" val fn_cos = Atom.atom "cos" val fn_dot = Atom.atom "dot" val fn_inside = Atom.atom "inside" val fn_load = Atom.atom "load" val fn_modulate = Atom.atom "modulate" val fn_pow = Atom.atom "pow" val fn_principleEvec = Atom.atom "principleEvec" val fn_sin = Atom.atom "sin" (* kernel names *) val kn_bspln3 = Atom.atom "bspln3" val kn_tent = Atom.atom "tent" end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |