fullseye

matrix_to_angle — REPRCONV algebra op

使い方

z 軸まわりの回転行列 → 角度 [度]。:func:angle_to_matrix の逆。

atan2(R[2,1], R[1,1]) を度で返す(-180, 180]。往復は (-180, 180] の範囲で bit 一致に近い(実測 max|Δ| = 2.8e-14 度)。

Args: matrix: (3, 3)。 Returns: float(度)。 Raises: ValueError: (3,3) でない / 非有限。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(angle を入力に取れる)

angle_to_matrix

同カテゴリ(algebra)

angle_to_matrix · 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.