数学/草稿-1:修订间差异
来自康健生活
< 数学
| 第14行: | 第14行: | ||
== 方法 == | == 方法 == | ||
transform(a, b, c, d, e, f) 与 Matrix 的转换。 | transform(a, b, c, d, e, f) 与 Matrix 的转换。 | ||
<math>\begin{bmatrix} | |||
x_{ 1 } \\ | |||
y_{ 1 } \\ | |||
1 \\ | |||
\end{bmatrix} = \begin{bmatrix} | |||
a & c & e \\ | |||
b & d & f \\ | |||
0 & 0 & 1 \\ | |||
\end{bmatrix} \times \begin{bmatrix} | |||
x \\ | |||
y \\ | |||
1 \\ | |||
\end{bmatrix}</math> | |||
推导出来 | |||
<math>\begin{cases} | |||
x_{ 1 } = a \times x + c \times y + e \\ | |||
y_{ 1 } = b \times x + d \times y + f \\ | |||
\end{cases}</math> | |||
== 状态 == | == 状态 == | ||
2023年7月30日 (日) 08:30的版本
通用公式
假设 。其中,A 为 的 m 行 n 列矩阵,B 为 列的矩阵。B 拆分为列向量,并且列向量的维数就是矩阵的行数。
方法
transform(a, b, c, d, e, f) 与 Matrix 的转换。
推导出来
状态
缩放
推导出来
平移
推导出来
旋转
推导出来
No categories