File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 4646```
4747
4848This also works for arrays or tuples of variables, including observed quantities and
49- independent variables:
49+ independent variables, and for interpolating solutions :
5050``` @example Usage
5151sol[[x, y]]
5252```
@@ -55,6 +55,18 @@ sol[[x, y]]
5555sol[(t, w)]
5656```
5757
58+ ``` @example Usage
59+ sol(1.3, idxs=x)
60+ ```
61+
62+ ``` @example Usage
63+ sol(1.3, idxs=[x, w]) # cannot use tuples of variables for interpolation
64+ ```
65+
66+ ``` @example Usage
67+ sol(1.3, idxs=[:y, :z])
68+ ```
69+
5870If necessary, ` Symbol ` s can be used to refer to variables. This is only valid for
5971symbolic variables for which [ ` hasname ` ] ( @ref ) returns ` true ` . The ` Symbol ` used must
6072match the one returned by [ ` getname ` ] ( @ref ) for the variable.
You can’t perform that action at this time.
0 commit comments