首页 新闻 会员 周边 捐助

关于用数组表示向量的疑问

0
悬赏园豆:30 [已解决问题] 解决于 2024-11-21 12:36

在阅读 What are vector embeddings? 时产生的疑问

Vectors are mathematical entities that possess both magnitude and direction. This ability to not only convey how much (magnitude) but also in which direction, makes them powerful tools for representing and manipulating different types of complex data.

一个向量包含 magnitudedirection,却可以通过一个数组表示

Vectors are often pictured as arrows pointing in a certain direction within a space, but they can also be translated into numbers. Representing vectors as numerical values makes it easier to work with them mathematically.

请问如何通过数组表示一个向量?

dudu的主页 dudu | 高人七级 | 园豆:30585
提问于:2024-11-21 10:01
< >
分享
最佳答案
0

通过 stackexchange 上 What is the difference between an array and a vector? 的回答解惑了

当用一个数组表示向量时,数组中的数值针对的是向量空间(vector space),比如 [0.95973, 0.12, 0.22],可以通过这些数值计算出 magnitudedirection

dudu | 高人七级 |园豆:30585 | 2024-11-21 12:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册