質量行列
M = [ m 1 ⋯ 0 0 ⋯ 0 ⋯ 0 ⋯ 0 ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ ⋱ ⋮ ⋱ ⋮ 0 ⋯ m 1 0 ⋯ 0 ⋯ 0 ⋯ 0 0 ⋯ 0 m 2 ⋯ 0 ⋯ 0 ⋯ 0 ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ ⋱ ⋮ ⋱ ⋮ 0 ⋯ 0 0 ⋯ m 2 ⋯ 0 ⋯ 0 ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ ⋱ ⋮ ⋱ ⋮ 0 ⋯ 0 0 ⋯ 0 ⋯ m N ⋯ 0 ⋮ ⋱ ⋮ ⋮ ⋱ ⋮ ⋱ ⋮ ⋱ ⋮ 0 ⋯ 0 0 ⋯ 0 ⋯ 0 ⋯ m N ] {\displaystyle M={\begin{bmatrix}m_{1}&\cdots &0&0&\cdots &0&\cdots &0&\cdots &0\\\vdots &\ddots &\vdots &\vdots &\ddots &\vdots &\ddots &\vdots &\ddots &\vdots \\0&\cdots &m_{1}&0&\cdots &0&\cdots &0&\cdots &0\\0&\cdots &0&m_{2}&\cdots &0&\cdots &0&\cdots &0\\\vdots &\ddots &\vdots &\vdots &\ddots &\vdots &\ddots &\vdots &\ddots &\vdots \\0&\cdots &0&0&\cdots &m_{2}&\cdots &0&\cdots &0\\\vdots &\ddots &\vdots &\vdots &\ddots &\vdots &\ddots &\vdots &\ddots &\vdots \\0&\cdots &0&0&\cdots &0&\cdots &m_{N}&\cdots &0\\\vdots &\ddots &\vdots &\vdots &\ddots &\vdots &\ddots &\vdots &\ddots &\vdots \\0&\cdots &0&0&\cdots &0&\cdots &0&\cdots &m_{N}\\\end{bmatrix}}}