How does semicolon work in vector definitions?

Javier Cayetano Rodríguez shared this question 1 year ago
Answered

On the description of the SetViewDirection command, I have seen that using a semicolon is recommended when defining certain vector (instead of comma), and I am just curious about that usage of semicolon. Specifically, on https://wiki.geogebra.org/e..., it is written:


SetViewDirection(Vector((1; α; -30°)), false)


Trying it myself, I have noticed that a definition like v=Vector((1;2)) yields (-0.42,0.91), and I am not sure of how it is working.

Thank you!

Comments (4)

photo
1

Polar coordinates, great! Thank you!

(*) I had looked for it on https://wiki.geogebra.org/e..., but there, it does not say anything.

Maybe it would be a good idea to include the information in that page too, wouldn't it?

photo
1
photo
1

Now it is perfect!

Thank you so much.

photo
© 2020 International GeoGebra Institute