Solves a system of linear equations A * X = B for X, where A is a
square matrix and B is a matrix of compatible dimensions.
Arguments
- A
A square matrix representing the coefficients.
- B
A matrix or vector representing the constants.
Value
The solution matrix or vector X.