> For the complete documentation index, see [llms.txt](https://lochiwei.gitbook.io/math/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lochiwei.gitbook.io/math/linear/matrix/notation.md).

# 矩陣符號

[線代](/math/linear.md) ⟩ [矩陣](/math/linear/matrix.md) ⟩ 符號

{% hint style="success" %}

* $${\color{orange}\mathbf{a}*{ij}}$$ 或 $${\color{orange}\mathbf{A}*{ij}}$$ 代表：$$\mathbf{A}$$ 矩陣第 $$i$$ 列、第 $$j$$ 行的<mark style="color:yellow;">**元素**</mark>。
* $${\color{orange}\mathbf{A}\_{i\*}}$$ 代表：$$\mathbf{A}$$ 矩陣的第 $$i$$ <mark style="color:yellow;">**列**</mark> (稱為[列向量](/math/linear/matrix/row-col.md))。
* $${\color{orange}\mathbf{A}\_{\*j}}$$ 代表：$$\mathbf{A}$$ 矩陣的第 $$j$$ <mark style="color:yellow;">**行**</mark> (稱為[行向量](/math/linear/matrix/row-col.md))。
  {% endhint %}

{% tabs %}
{% tab title="👥 相關" %}

* [內積](/math/linear/vec/op/dot.md)
* [矩陣乘法](/math/linear/matrix/op/mult.md)
  {% endtab %}

{% tab title="📗 參考" %}

* [ ] Mathematics for 3D Game Programming & Computer Graphics (2nd Edition, 2004) &#x20;
  {% endtab %}
  {% endtabs %}

在矩陣的世界中：

* [矩陣](/math/linear/matrix.md)通常用<mark style="color:yellow;">**大寫粗體**</mark>表示，如： $$\mathbf{A}, \mathbf{B}, \mathbf{M}$$
* 一般的[向量](/math/linear/vec.md)會用<mark style="color:yellow;">**小寫粗體**</mark>表示，並寫成「[列向量](/math/linear/matrix/row-col.md)」，如：\
  \
  $$\mathbf{u}=\begin{bmatrix}       1 \ 2 \ 3 \end{bmatrix}$$, $$\mathbf{v}=\begin{bmatrix}       4 \ 5 \ 6 \end{bmatrix}$$<br>
* 它們的[內積](/math/linear/vec/op/dot.md)則會寫成這樣：\
  \
  $$\mathbf{u}^T\mathbf{v}=\begin{bmatrix}       1 & 2 & 3 \end{bmatrix} \begin{bmatrix}       4 \ 5 \ 6 \end{bmatrix}  = \begin{bmatrix}       32 \end{bmatrix}$$

{% hint style="danger" %}
⭐️ 注意：

<mark style="color:yellow;">**通常不區分**</mark>一個<mark style="color:yellow;">**純數**</mark>與 $$1\times 1$$ <mark style="color:yellow;">**矩陣**</mark>之間的區別，但在複雜的矩陣運算中，可能會混雜向量的[係數積](/math/linear/space.md)、[矩陣係數積](/math/linear/matrix/op/scalar-mult.md)、向量[內積](/math/linear/vec/op/dot.md)、[矩陣乘法](/math/linear/matrix/op/mult.md)等，如果任意混用，<mark style="color:yellow;">**有可能會產生**</mark><mark style="color:red;">**計算錯誤**</mark>:exclamation:
{% endhint %}
