Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试计算 log(exp(x)-exp(y)); 因为这不再是 sum,所以我不能使用 LogSumExp,如果 exp(x) 或 exp(y) 很大(例如 exp(32) 或其他东西),事情仍然会变得非常难看。
如何更安全地执行此操作?