File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -147,16 +147,12 @@ In this section we define the core pieces of the IR and what they mean.
147
147
148
148
### Variables
149
149
150
- The simplest piece of the IR is the ` Variable ` . The ` Variable ` is the
150
+ The most fundamental part of the IR is the ` Variable ` . The ` Variable ` is the
151
151
context-aware single variable of the IR. Its fields are described as follows:
152
152
153
153
- ` name ` : the name of the ` Variable ` . Note that this is not necessarily
154
154
the same as the name of the Julia variable. But this symbol itself is considered
155
155
the core identifier of the ` Variable ` in the sense of equality.
156
- - ` value ` : the value of the ` Variable ` . The meaning of the value can be
157
- interpreted differently for different systems, but in most cases it's tied to
158
- whatever value information would be required for the system to be well-defined
159
- such as the initial condition of a differential equation.
160
156
- ` value_type ` : the type that the values have to be. It's disconnected
161
157
from the ` value ` because in many cases the ` value ` may not be able to be
162
158
specified in advance even when we may already know the type. This can be used
@@ -179,6 +175,10 @@ context-aware single variable of the IR. Its fields are described as follows:
179
175
- ` context ` : this is an open field for DSLs to carry along more context
180
176
in the variables, but is not used in the systems themselves.
181
177
178
+ ### Constants
179
+
180
+ ` Constant ` is a simple wrapper type to store numerical Julia constants.
181
+
182
182
### Operations
183
183
184
184
Operations are the basic composition of variables and puts together the pieces
You can’t perform that action at this time.
0 commit comments