algebra opangle → matriximport 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 の :func:rot_scale_to_matrix と同じ [[c,-s],[s,c]] の向き
(軸 0 → 軸 1)を軸 (1, 2) に置いたもので、:func:matrix_to_angle の
atan2(R[2,1], R[1,1]) もこの向きで往復する。度であることと
どちらの軸へ回るかが、この段落の全内容である。ラジアンを渡すと
例外は出ず、ただ 57.3 分の 1 だけ回った行列が返る。
Args: angle: 度。 Returns: (3, 3) float64、行列式 1 の直交行列。 Raises: ValueError: スカラでない / 非有限。
py -3.11 examples/representation_roundtrip.pymatrix を入力に取れる)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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.