Home My Page Projects Code Snippets Project Openings diderot

# SCM Repository

[diderot] Diff of /branches/pure-cfg/TODO
 [diderot] / branches / pure-cfg / TODO

# Diff of /branches/pure-cfg/TODO

revision 763, Thu Apr 7 19:57:56 2011 UTC revision 788, Fri Apr 8 03:57:23 2011 UTC
# Line 1  Line 1
1    ========================
2    SHORT TERM =============  (for curvature-based VR)
3    ========================
4
5    IL support for higher-order tensor values (matrices, etc).
6        tensor construction
7        tensor indexing and slicing
8        verify that hessians work correctly
9
10  Outer products  Outer products
11      syntax [DONE]      syntax [DONE]
12      typechecking      typechecking
# Line 9  Line 18
18
19  trace [DONE]  trace [DONE]
20
21  expand trace in mid to low translation  extend norm (|exp|) to tensor[3,3]

extend norm (|exp|) to all tensor types

Infix dot product and cross product [DONE]
22
23  lerp on scalars and vectors [DONE]  Use ∇⊗ etc. syntax

Use ∇⊗ etc syntax
24      syntax [DONE]      syntax [DONE]
25      typechecking      typechecking
26      IL and codegen      IL and codegen
# Line 28  Line 31
31          value construction: '{' e1 ',' … ',' en '}'          value construction: '{' e1 ',' … ',' en '}'
32          indexing: e '{' e '}'          indexing: e '{' e '}'
33
34  IL support for higher-order tensor values (matrices, etc).  Infix dot product and cross product [DONE]
35      tensor construction
36      tensor indexing and slicing  lerp on scalars and vectors [DONE]
37
38    ==============================
39    other SHORT TERM =============  (including needed for LIC)
40    ==============================
41
42    determinant ("det") for tensor[3,3]
43
44    Decide if we want to allow redefinitions of variables
45      (as in vr-lite-cam.diderot)
46
47    extend norm (|exp|) to all tensor types
48
49    extend normalize to all tensor types
50
51    vector fields: convolution on vector images
52
53    expand trace in mid to low translation
54
55    value-numbering optimization
56
57  Add type aliases for color types  Add type aliases for color types
58      rgb = real{3}      rgb = real{3}
59      rgba = real{4}      rgba = real{4}
60
61    ==============================
62    MEDIUM TERM ================== (needed for streamlines & tractography)
63    ==============================
64
65    ability to emit/track/record variables into dynamically re-sized
66    runtime buffer
67
68    evals & evecs for symmetric tensor[3,3]
69
70    tensor fields: convolution on general tensor images
71
72    ==============================
73    other MEDIUM TERM ============ (needed for particles)
74    ==============================
75
76    run-time birth and death of strands
77
78    "initially" supports lists
79
80    "initially" supports lists of positions output from
81    different initalization Diderot program
82
83    spatial data structure that permits strands' queries of neighbors
84
85    proper handling of stabilize method
86
87    ==============================
88    LONG TERM ====================
89    ==============================
90
91    co- vs contra- index distinction
92
93    add ":" for tensor dot product (contracts out two indices
94    instead of one like •), valid for all pairs of tensors with
95    at least two indices
96
97    some indication of tensor symmetry
98    (have to identify the group of index permutations that are symmetries)
99
100    dot works on all tensors
101
102    outer works on all tensors
103
104    Einstein summation notation
105
106    "tensor comprehension" (like list comprehension)
107
108    ======================
109    BUGS =================
110    ======================
111
112    test/mip-cam.diderot:
113        // generated C code looks like "(float)p_ui_0--0.5e0f"
114        //real rayU = 2.0*camUmax*(real(ui) - -0.5)/real(imgResU) - camUmax;
115
116    test/vr-kcomp.diderot:
117        // HEY (scoping BUG): the strand parameters (e.g. ui, vi) ...
118
119    test/zslice2.diderot:
120    // but is this not valid syntax for creating field in one shot?
121    //field#2(3)[] F = (load("../data/zimg112.nrrd")) ⊛ bspln3;
122    // It is valid syntax, but there is a bug in the conversion from HighIL to MidIL
123
124    test/zslice2.diderot:
125    // HEY (bug) bspln5 leads to problems ...
126    //  uncaught exception Size [size]
127    //    raised at c-target/c-target.sml:47.15-47.19
128    //field#4(3)[] F = img ⊛ bspln5;
129
130

Legend:
 Removed from v.763 changed lines Added in v.788