如何使用子栈在案例内部获取 argmax 下的极限

如何使用子栈在案例内部获取 argmax 下的极限

\substack当我与一起使用时\max,我得到了运算符下的限制,这正是我想要的。

但是,当我使用 \substack 时\operatorname{argmax},限制是下标,这不是我想要的。

另外,当我\substack使用\max

\begin{cases}
...
\end{cases}

极限是下标。

有没有办法让限制\operatorname{argmax}处于“案例”环境之下?

我的代码(具有不良行为):

\[
\text{where } \pd{P[r][c]}{A[i][j]} =
\begin{cases}
1 & i,j = \max_{\substack{1 \le i' \le 3 \\ 1 \le j' \le 3} } A[(r-1)\times 2+i'][(c- 
1)\times 2+j']\\[30pt]
0 & \text{ else }
\end{cases}
\]

在运算符下设置限制的代码:

\[
P[r][c] = \max_{ \substack{1 \le i \le 3 \\ 1 \le j \le 3} } A[(r-1)\times 
2+i][(c-1)\times 2+j]
\]

答案1

好的,稍作修改。

\operatorname*{argmax} \limits_{\substack{1 \le i' \le 3 \\ 1 \le j' \le 3}}

我认为这解决了你的问题。

笔记: \operatorname{}没有星号的则无法接受命令\limits

该命令\limits还可以解决您的其他问题。

另外,当我在 \begin{cases} \end{cases} 内使用带有 \max 的 \substack 时,限制是下标。

相关内容