Cheap algorithm to find measure of angle between vectors

前端 未结 9 1599
旧时难觅i
旧时难觅i 2020-12-13 01:02

Finding the angle between two vectors is not hard using the cosine rule. However, because I am programming for a platform with very limited resources, I would like to avoid

9条回答
  •  天命终不由人
    2020-12-13 01:25

    The solution would be trivial if the vectors were defined/stored using polar coordinates instead of cartesian coordinates (or, 'as well as' using cartesian coordinates).

提交回复
热议问题