Can you do Vector addition in Java, natively?

后端 未结 6 1286
太阳男子
太阳男子 2020-12-17 09:15

I Know there\'s a \"Vector\" class in java, but it seems to be just a simpler ArrayList type of deal, not an actual, mathematical Vector (as in a magnitude and a direction).

6条回答
  •  不思量自难忘°
    2020-12-17 09:50

    I don't think there is a built-in way to do vector addition, however I've found a series describing how this could be done.

提交回复
热议问题