COEFF_MATRIX _ _ _ _ _ _ _ _ _ _ _ _ operator
(If you are feeling lazy then the braces can be omitted.)
<lineq\_list> :- linear equations. Can be of the form equation = number or just equation.
coeff_matrixcreates the coefficient matrix C of the linear equations.
It returns {C,X,B} such that CX = B.
coeff_matrix({x+y+4*z=10,y+x-z=20,x+y+4});
{
[4 1 1]
[ ]
[-1 1 1]
[ ]
[0 1 1]
,
[z]
[ ]
[y]
[ ]
[x]
,
[10]
[ ]
[20]
[ ]
[-4]
}