algebra op• 数据种类:angle → matrix
• 调用: import fullseye as fs; fs.ledger.angle_to_matrix(angle)(要直接调用实现,import reprconv; reprconv.angle_to_matrix(angle);从台账取用则 opsreprconv.get("angle_to_matrix"))
角度 [度] → 绕 z 轴的旋转矩阵 matrix (3,3)。angle 的出口。
angle_to_matrix(90) 把轴1(y)送到轴2(x),把轴2(x)送到 −轴1(−y) (R @ [0,1,0] = [0,0,1]、R @ [0,0,1] = [0,-1,0],实测)。它是把与 2-D 的 rot_scale_to_matrix 相同的 [[c,-s],[s,c]] 方向(轴 0 → 轴 1)放到轴 (1, 2) 上,matrix_to_angle 的 atan2(R[2,1], R[1,1]) 也按这个方向往返。单位是度,以及 朝哪个轴旋转,就是这一段的全部内容。传入弧度时不会抛异常,只会返回只转了 1/57.3 的矩阵。
Args:
angle: 度。
Returns:
(3, 3) float64,行列式为 1 的正交矩阵。
Raises:
ValueError: 不是标量 / 非有限。
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• representation_roundtrip — py -3.11 examples/representation_roundtrip.py
matrix 作为输入)matrix_to_descriptor · matrix_to_angle · matrix_to_rot_scale
algebra)matrix_to_angle · rot_scale_to_matrix · matrix_to_rot_scale · shift_to_vector · vector_to_shift · cscalar_to_polar · polar_to_cscalar · countrate_to_counts
*Provenance: reprconv.py — REPRCONV 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.