208 | 208 |
The corresponding node values must be set before the function
|
209 | 209 |
can be evaluated.
|
210 | 210 |
|
211 | |
$head string_vec$$
|
212 | |
This is the string vector which cannot change.
|
213 | |
These strings can be used to display information about the function.
|
214 | |
The Json format for $icode string_vec$$ is
|
215 | |
$codei%
|
216 | |
%n_string%, [ %first_string%, %...%, %last_string% ]
|
217 | |
%$$
|
218 | |
Each of the elements of the vector,
|
219 | |
e.g. $icode first_string$$,
|
220 | |
is a $cref/string/json_ad_graph/Token/String/$$ specifying
|
221 | |
the value for the corresponding node.
|
222 | |
|
223 | |
$subhead n_string$$
|
224 | |
The non-negative integer $icode n_string$$
|
225 | |
is the number of elements in this vector.
|
226 | |
|
227 | |
$subhead Node Indices$$
|
228 | |
We use the notation
|
229 | |
$codei%
|
230 | |
%start_string% = %start_independent% + %n_independent%
|
231 | |
%$$
|
232 | |
The node indices corresponding to the string vector are
|
233 | |
$codei%
|
234 | |
%start_string%, %...%, %start_string% + %n_string% - 1
|
235 | |
%$$
|
236 | |
|
237 | 211 |
$head constant_vec$$
|
238 | 212 |
This is the constant parameter vector.
|
239 | 213 |
These parameters can be used to define the function and cannot change.
|
|
254 | 228 |
$subhead Node Indices$$
|
255 | 229 |
We use the notation
|
256 | 230 |
$codei%
|
257 | |
%start_constant% = %start_string% + %n_string%
|
|
231 |
%start_constant% = %start_independent% + %n_independent%
|
258 | 232 |
%$$
|
259 | 233 |
The node indices corresponding to the constant vector are
|
260 | 234 |
$codei%
|
|
333 | 307 |
"op_define_vec": %op_define_vec%,
|
334 | 308 |
"n_dynamic_ind": %n_dynamic_ind%,
|
335 | 309 |
"n_independent": %n_independent%,
|
336 | |
"string_vec": %string_vec%,
|
337 | 310 |
"constant_vec": %constant_vec%,
|
338 | 311 |
"op_usage_vec": %op_usage_vec%,
|
339 | 312 |
"dependent_vec": %dependent_vec%
|