Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet committed Jan 7, 2022
1 parent 8d1da19 commit f2ccd9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ It supports the following syntax and features:
x2 = x2*15
return (x2 - 5/(4*m.pi^2)*(x1^2) + 5/m.pi*x1 -6 )^2 + 10*(1-1/(8*m.pi))*m.cos(x1) +10
print( "z={0}".format( branin( ?[x1~[1,2]], ${x2 +1.23} | #.###)))
print( "z={0}".format( branin( ?[x1~[1,2]], ${?[x2] +1.23} | #.###)))
```
* will identify input:
* x1, expected to vary inside [1,2]
* x2, expected to vary inside [0,1] (by default)
* replace `!{?x2 + 1.23 | #.###}` expression by its evaluation
* replace `${?[x2] + 1.23 | #.###}` expression by its evaluation

* Output
* file type supported: 'out.txt'
Expand Down

0 comments on commit f2ccd9c

Please sign in to comment.