Skip to main content

solve_linear_system_GEPP_2x2

solve_linear_system_GEPP_2x2(A, x, b) ⇒ boolean

Solve linear equation Ax = b using Gaussian Elimination with Partial Pivoting for a 2x2 system. If the matrix is found to be singular within a small numerical tolerance close to machine precision then 0 is returned.

Kind: global function
Returns: boolean - true iff solution is found, false otherwise

ParamType
AArray.<number>
xArray.<number>
bArray.<number>