作者LPH66 (-858993460)
看板LaTeX
标题Re: [问题] nxn 的矩阵要怎打?
时间Tue Feb 7 13:14:24 2012
※ 引述《mybagle (陪果)》之铭言:
: 如题 我想打的矩阵像这样子
: 0 0 0 . . . . . 0 0 1
: 0 b 0 . . . . . 0 0 2
: 0 0 c . . . . . 0 0 3
: . . . . . .
: . . . . . .
: . . . . . .
: 0 0 0 0 0 0 0 0 x 0 n-1
: 0 0 0 0 0 0 0 0 0 y n
: 前面(n-1)x(n-1)是只有对角才有值 最後一行也有值
: 其他都是0 想请问一下大家要怎样才能写呢?
: 已经爬过文没查到相关资讯
: google到的又是比较小的矩阵 想麻烦一下大家了>"<
你需要的大概是 \dots 系列
用 LyX 随手弄了个范例出来
\begin{array}{ccccccc}
a & 0 & 0 & \cdots & 0 & 0 & 1 \\
0 & b & 0 & \cdots & 0 & 0 & 2 \\
0 & 0 & c & \cdots & 0 & 0 & 3 \\
\vdots & \vdots & \vdots & \ddots & \vdots & \vdots & \vdots\\
0 & 0 & 0 & \cdots & x & 0 & n-1 \\
0 & 0 & 0 & \cdots & 0 & y & n
\end{array}
--
'Oh, Harry, don't you
see?' Hermione breathed. 'If she could have done
one thing to make
absolutely sure that every single person in this school
will read your interview, it was
banning it!'
---'Harry Potter and the order of the phoenix', P513
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.254.16.60
1F:推 mybagle:感谢>"< 02/07 15:24