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

SCM Repository

[diderot] Annotation of /trunk/test/unicode-cheatsheet.diderot
ViewVC logotype

Annotation of /trunk/test/unicode-cheatsheet.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1442 - (view) (download)

1 : glk 1240
2 :     /* useful unicode characters for Diderot
3 :    
4 :    
5 : glk 1241 convolution, as in
6 :     field#2(3)[] F = bspln3 ⊛ load("img.nrrd");
7 : glk 1442 LaTeX: \circledast is probably typical, but
8 :     \varoast (with \usepackage{stmaryrd}) is slightly more legible
9 : glk 1240
10 :     ×
11 : glk 1241 cross product, as in
12 :     vec3 camU = normalize(camN × camUp);
13 : glk 1442 LaTeX: \times
14 : glk 1240
15 :     π
16 : glk 1241 Pi, as in
17 :     real rad = degrees*π/360.0;
18 : glk 1442 LaTeX: \pi
19 : glk 1240
20 :    
21 : glk 1241 Del, as in
22 :     vec3 grad = ∇F(pos);
23 : glk 1442 LaTeX: \nabla
24 : glk 1240
25 :    
26 : glk 1241 dot product, as in
27 :     real ld = norm • lightDir;
28 : glk 1442 LaTeX: \bullet, although \cdot more typical for dot products
29 : glk 1240
30 :    
31 : glk 1241 tensor product, as in
32 :     tensor[3,3] Proj = identity[3] - norm⊗norm
33 : glk 1442 LaTeX: \otimes
34 : glk 1240
35 : glk 1394
36 :     Infinity, as in
37 :     output real val = -∞;
38 : glk 1442 LaTeX: \infty
39 : glk 1394
40 : glk 1240 */
41 :    
42 :     strand blah (int i) {
43 :     output real out = 0.0;
44 :     update { stabilize; }
45 :     }
46 :     initially [ blah(i) | i in 0..0 ];

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