-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update basic examples no unicode #298
Comments
@jbcaillau Je pensais que l'on pouvait remplacer julia> ocp = @def begin
t in [0, 1], time
x in R^2, state
u in R, control
x(0) == [ -1, 0 ]
x(1) == [ 0, 0 ]
derivative(x)(t) == [ x2(t), u(t) ]
integral( 0.5u(t)^2 ) => min
end
ERROR: ParsingError:
Line 1: (t in [0, 1], time)
unknown syntax C'est |
I prefer not to. As close to the math as possible:
Our basic example must be as simple as striking as possible: "write math as usual, we take care of the computation". It is good to have nonunicode alternatives, and it is documented in the doc (all but |
Ok but we can add a word to tell that it is possible with a link to the abstract syntax. |
We could add the problems without any unicode for the basic examples.
The text was updated successfully, but these errors were encountered: