- #1
ryan88
- 42
- 0
Hi,
I am trying to produce a matrix in Latex with the following code:
But I keep on getting the following error:
Extra alignment tab has been changed to \cr.<recently read> \endtemplate
This error occurs for each row in that matrix.
I would appreciate any help anyone can give,
Thanks,
Ryan
I am trying to produce a matrix in Latex with the following code:
Code:
\begin{bmatrix}
1 & 0 & 0 & 0 & 0 & 0 & 0 & -4 & 1 & 0 & 0 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & -4 & 1 & 0 & 0 & 0 & 0 \\
0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & -4 & 1 & 0 & 0 & 0 \\
0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & -4 & 1 & 0 & 0 \\
0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & -4 & 1 & 0 \\
0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & -4 & 1 \\
0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & -4
\end{bmatrix}
Extra alignment tab has been changed to \cr.<recently read> \endtemplate
This error occurs for each row in that matrix.
I would appreciate any help anyone can give,
Thanks,
Ryan