mindchemistry.e3.o3.matrix_x ============================ .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.5.0/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindscience/blob/r0.7/docs/api_python/mindchemistry/e3/o3/mindchemistry.e3.o3.matrix_x.rst :alt: 查看源文件 .. py:function:: mindchemistry.e3.o3.matrix_x(angle) 给出给定角度下绕x轴的旋转矩阵。 参数: - **angle** (Union[Tensor[float32], List[float], Tuple[float], ndarray[np.float32], float]) - 围绕x轴的旋转角度。形状为 :math:`(...)`。 返回: - **output** (Tensor) - 围绕x轴的旋转矩阵。输出的形状为 :math:`(..., 3, 3)`。