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

SCM Repository

[diderot] View of /branches/vis12/test/unicode-cheatsheet.diderot
ViewVC logotype

View of /branches/vis12/test/unicode-cheatsheet.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1927 - (download) (annotate)
Sat Jun 23 18:09:16 2012 UTC (7 years, 3 months ago) by jhr
File size: 782 byte(s)
  converting to use "image" instead of "load" for image nrrd loading
/* useful unicode characters for Diderot

⊛
convolution, as in
field#2(3)[] F = bspln3 ⊛ image("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