Codebase list cppad / cbd96e3
master: json: remove string_vec from ad_graph.omh. Brad Bell 4 years ago
2 changed file(s) with 3 addition(s) and 29 deletion(s). Raw diff Collapse all Expand all
208208 The corresponding node values must be set before the function
209209 can be evaluated.
210210
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
237211 $head constant_vec$$
238212 This is the constant parameter vector.
239213 These parameters can be used to define the function and cannot change.
254228 $subhead Node Indices$$
255229 We use the notation
256230 $codei%
257 %start_constant% = %start_string% + %n_string%
231 %start_constant% = %start_independent% + %n_independent%
258232 %$$
259233 The node indices corresponding to the constant vector are
260234 $codei%
333307 "op_define_vec": %op_define_vec%,
334308 "n_dynamic_ind": %n_dynamic_ind%,
335309 "n_independent": %n_independent%,
336 "string_vec": %string_vec%,
337310 "constant_vec": %constant_vec%,
338311 "op_usage_vec": %op_usage_vec%,
339312 "dependent_vec": %dependent_vec%
157157 $cref/forward/atomic_three_forward/taylor_x/parameters/$$ and
158158 $cref/reverse/atomic_three_forward/taylor_x/parameters/$$ callback functions.
159159 $lnext
160 Change Json $cref/string_vec/json_ad_graph/string_vec/$$
160 Change Json $icode string_vec$$
161161 from first to second line below:
162162 $codei%
163163 [ %n_string%, [ %first_string%, %...%, %last_string% ] ]
164164 %n_string%, [ %first_string%, %...%, %last_string% ]
165165 %$$
166 ($icode string_vec$$ was removed on $cref/08-29/whats_new_19/08-29/$$).
166167 $lnext
167168 Change Json $cref/constant_vec/json_ad_graph/constant_vec/$$
168169 from first to second line below: