\begin{pmatrix} 2 \\ 4 \\ -2 \end{pmatrix}
这是3 * 1矢量矩阵,我想在那个矩阵旁边写另一个矩阵或x和y。有什么方法可以写矩阵inline吗?
您是否在数学中使用内联定界符?例如,>
$\begin{pmatrix} 2 \\ 4 \\ -2 \end{pmatrix}$
如果在这些定界符中放置另一个矩阵,它们将被插入行内。例如,请参见以下实时示例:
<script>
MathJax = {
tex: {inlineMath: [['$','$']]}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" id="MathJax-script"></script>
This math is in line, $
\begin{pmatrix}
a & b & c \\
d & e & f \\
g & h & i
\end{pmatrix}
\begin{pmatrix} 2\\ 4\\ -2 \end{pmatrix}
$, with text following it.