angle_to_matrix — REPRCONV algebra op

• Data kinds: angle → matrix

• Call: import fullseye as fs; fs.ledger.angle_to_matrix(angle) (implementation को सीधे call करना हो तो import reprconv; reprconv.angle_to_matrix(angle), registry से लेना हो तो opsreprconv.get("angle_to_matrix"))

उपयोग

कोण [degree] → z axis के चारों ओर rotation matrix matrix (3,3)। angle से निकास।

angle_to_matrix(90) axis 1 (y) को axis 2 (x) पर भेजता है, और axis 2 (x) को −axis 1 (−y) पर भेजता है (R @ [0,1,0] = [0,0,1], R @ [0,0,1] = [0,-1,0], measured)। यह 2-D rot_scale_to_matrix वाला ही [[c,-s],[s,c]] orientation (axis 0 → axis 1) axes (1, 2) पर रखा गया है, और matrix_to_angle का atan2(R[2,1], R[1,1]) भी इसी orientation में round trip करता है। कि यह degree में है और किस axis की ओर घूमता है, यही इस paragraph की पूरी सामग्री है। radian देने पर कोई exception नहीं आता, बस इच्छित कोण के केवल 1/57.3 जितना घूमा matrix लौटता है।

Args:

angle: degree।

Returns:

(3, 3) float64, determinant 1 वाला orthogonal matrix।

Raises:

ValueError: scalar नहीं / non-finite।

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• representation_roundtrip — py -3.11 examples/representation_roundtrip.py

वे अगले ops जिनसे type जुड़ता है (matrix को input के रूप में लेते हैं)

matrix_to_descriptor · matrix_to_angle · matrix_to_rot_scale

इसी category के (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 note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.