Concept Flow - np.linalg.solve() for linear systems
Start with matrix A and vector b
Check if A is square and dimensions match b
Yes
Use np.linalg.solve(A, b) to find x
Return solution vector x
End
The function takes a square matrix A and vector b, checks dimensions, then solves Ax = b for x.