File: mtx_rot.md

package info (click to toggle)
pd-iemmatrix 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,576 kB
  • sloc: ansic: 15,440; makefile: 291; sh: 169
file content (26 lines) | stat: -rw-r--r-- 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
title: mtx_rot
description: 2d cartesian rotation matrix
categories:
- object
pdcategory: Coordinates
see_also:
- mtx_rotx
- mtx_roty
- mtx_rotz
- mtx_rotxyz
inlets:
  1st:
  - type: float
    description: rotation angle \(\theta\) (in radian)
outlets:
  1st:
  - type: matrix
    description: 2D rotation matrix
---

$$R = \begin{pmatrix}
\cos \theta & -\sin \theta \\
\sin \theta & \cos \theta
\end{pmatrix}
$$