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.