File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1069,13 +1069,14 @@ <h4>hint(e, v)</h4>
1069
1069
1070
1070
< h3 > Other expressions</ h3 >
1071
1071
1072
- < h4 > new Global(f)</ h4 >
1072
+ < h4 > new Global(f, name )</ h4 >
1073
1073
< p >
1074
1074
The class < code > Global</ code > represents an expression whose value may change but which is
1075
1075
not affected by any variables that are solved for. Its value is provided by a function < code > f</ code >
1076
1076
passed to the constructor. The function is expected to return a number or array of numbers.
1077
1077
This class is used to interface Constrain diagrams with external data sources such as the user
1078
- interface.
1078
+ interface. The optional argument < code > name</ code > can be used to give the global a name, for
1079
+ debugging purposes.
1079
1080
</ p >
1080
1081
1081
1082
< h4 > new DebugExpr(e)</ h4 >
You can’t perform that action at this time.
0 commit comments