Solves the linear system `m . x == b`.
可独立核查:此函数的答案会通过另一条途径重新推导并比较——工作台和 verify 工具会自动完成,因此错误答案会被发现而不是被采信。 历史 →
LinearSolve[m, b]
LinearSolve[m]
LinearSolve[a, b]
LinearSolve[{{1, 2}, {3, 4}}, {5, 11}]
→ {1, 2}LinearSolve[{{1, 2}, {3, 4}}][{5, 11}]
→ {1, 2}LinearSolve[{{1, 2, 3}, {4, 5, 6}}, {1, 2}]
→ {-1/3, 2/3, 0}- Method — default Automatic
- Modulus — default 0
- ZeroTest — default Automatic