221 Star 941 Fork 692

GVPMindSpore/mindscience

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mindchemistry.e3.o3.xyz_to_angles.rst 573 Bytes
一键复制 编辑 原始数据 按行查看 历史
jian981105 提交于 2024-08-02 16:19 +08:00 . update doc and api

mindchemistry.e3.o3.xyz_to_angles

.. py:function:: mindchemistry.e3.o3.xyz_to_angles(xyz)

    将球体上的点 :math:`\vec r = (x, y, z)` 转换为角度 :math:`(\alpha, \beta)`。

    .. math::
        \vec r = R(\alpha, \beta, 0) \vec e_z

    参数:
        - **xyz** (Tensor) - 点 :math:`(x, y, z)`。形状为 :math:`(..., 3)` 的张量。

    返回:
       - **alpha** (Tensor) - alpha 欧拉角。形状为 :math:`(...)` 的张量。
       - **beta** (Tensor) - beta 欧拉角。形状为 :math:`(...)` 的张量。
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/mindscience.git
git@gitee.com:mindspore/mindscience.git
mindspore
mindscience
mindscience
master

搜索帮助