Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] Diff of /trunk/test/unicode-cheatsheet.diderot
 [diderot] / trunk / test / unicode-cheatsheet.diderot

# Diff of /trunk/test/unicode-cheatsheet.diderot

revision 1240, Wed May 18 14:14:26 2011 UTC revision 2636, Tue May 27 16:18:36 2014 UTC
# Line 2  Line 2
2  /* useful unicode characters for Diderot  /* useful unicode characters for Diderot
3
4  ⊛  ⊛
5  convolution, as in: field#2(3)[] F = bspln3 ⊛ load("img.nrrd");  convolution, as in
6    field#2(3)[] F = bspln3 ⊛ image("img.nrrd");
7    LaTeX: \circledast is probably typical, but
8    \varoast (with \usepackage{stmaryrd}) is slightly more legible
9
10  ×  ×
11  cross product, as in: camN × camUp  cross product, as in
12    vec3 camU = normalize(camN × camUp);
13    LaTeX: \times
14
15  π  π
16  Pi, as in: degrees*π/360.0  Pi, as in
18    LaTeX: \pi
19
20  ∇  ∇
21  Del, as in vec3 grad = ∇F(pos);  Del, as in
23    LaTeX: \nabla
24
25  •  •
26  dot product, as in norm • light  dot product, as in
27    real ld = norm • lightDir;
28    LaTeX: \bullet, although \cdot more typical for dot products
29
30  ⊗  ⊗
31  tensor product, as in Proj = identity[3] - norm⊗norm  tensor product, as in
32    tensor[3,3] Proj = identity[3] - norm⊗norm
33    LaTeX: \otimes
34
35    ∞
36    Infinity, as in
37    output real val = -∞;
38    LaTeX: \infty
39
40  */  */
41

Legend:
 Removed from v.1240 changed lines Added in v.2636