@@ -163,7 +163,7 @@ context-aware single variable of the IR. Its fields are described as follows:
163
163
to set units or denote a variable as being of higher precision.
164
164
- ` subtype ` : the main denotation of context. Variables within systems
165
165
are grouped according to their ` subtype ` .
166
- - ` diff ` : the operator objects attached to the variable
166
+ - ` diff ` : the ` Differential ` object representing the quantity the variable is differentiated with respect to, or ` nothing `
167
167
- ` dependents ` : the vector of variables on which the current variable
168
168
is dependent. For example, ` u(t,x) ` has dependents ` [t,x] ` . Derivatives thus
169
169
require this information in order to simplify down.
@@ -182,19 +182,14 @@ context-aware single variable of the IR. Its fields are described as follows:
182
182
### Operations
183
183
184
184
Operations are the basic composition of variables and puts together the pieces
185
- with a function. The operator ` ~ ` is a special operator which denotes equality
185
+ with a function. The ` ~ ` function denotes equality
186
186
between the arguments.
187
187
188
- ### Operators
188
+ ### Differentials
189
189
190
- An operator is an object which modifies variables via ` * ` . It adds the operator
191
- to the ` diff ` field of the variable and changes the interpretation of the variable.
192
- The current operators are:
193
-
194
- - ` Differential ` : a differential denotes the derivative with respect to a given
195
- variable. It can be expanded via ` expand_derivatives ` which symbolically
196
- differentiates expressions recursively and cancels out appropriate constant
197
- variables.
190
+ A ` Differential ` denotes the derivative with respect to a given variable. It can
191
+ be expanded via ` expand_derivatives ` , which symbolically differentiates
192
+ expressions recursively and cancels out appropriate constant variables.
198
193
199
194
### Systems
200
195
0 commit comments