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

# SCM Repository

[diderot] View of /branches/charisee/test/unicode-cheatsheet.diderot
 [diderot] / branches / charisee / test / unicode-cheatsheet.diderot

# View of /branches/charisee/test/unicode-cheatsheet.diderot

Mon Jun 3 19:41:56 2013 UTC (6 years, 2 months ago) by jhr
File size: 781 byte(s)
  Create new branch for Charisee's Einstein stuff

/* useful unicode characters for Diderot

⊛
convolution, as in
field#2(3)[] F = bspln3 ⊛ load("img.nrrd");
LaTeX: \circledast is probably typical, but
\varoast (with \usepackage{stmaryrd}) is slightly more legible

×
cross product, as in
vec3 camU = normalize(camN × camUp);
LaTeX: \times

π
Pi, as in
real rad = degrees*π/360.0;
LaTeX: \pi

∇
Del, as in
vec3 grad = ∇F(pos);
LaTeX: \nabla

•
dot product, as in
real ld = norm • lightDir;
LaTeX: \bullet, although \cdot more typical for dot products

⊗
tensor product, as in
tensor[3,3] Proj = identity[3] - norm⊗norm
LaTeX: \otimes

∞
Infinity, as in
output real val = -∞;
LaTeX: \infty

*/

strand blah (int i) {
output real out = 0.0;
update { stabilize; }
}
initially [ blah(i) | i in 0..0 ];


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