m3sh.linalg.
cramer#
- cramer(A, b)#
Cramer’s rule.
Added in version 1.1.0.
Solve the system \(A\mathbf{x} = \mathbf{b}\) using Cramer’s rule. NumPy’s general purpose method
solve()is faster.- Parameters:
- Andarray, shape (3, 3)
Left-hand side matrix.
- bndarray, shape (3,)
Right-hand side vector.
- Returns:
- xndarray, shape (3,)
Solution vector.
Notes
As of now this function can fail without warning, regularity of A is not checked.