The Julia code for Given rotations on pg. 133 is missing a couple of end statements for the conditionals.
I find the code a bit confusing, and I think it could greatly benefit from type hints. Specifically, it's very unclear to me what the parameters a and b are. Are these vectors? Do they represent u_1, u_2?
The Julia code for Given rotations on pg. 133 is missing a couple of
end
statements for the conditionals.I find the code a bit confusing, and I think it could greatly benefit from type hints. Specifically, it's very unclear to me what the parameters
a
andb
are. Are these vectors? Do they representu_1
,u_2
?