coeff SciMax Toolbox cograd

SciMax Toolbox >> coefmatrix

coefmatrix

Maxima Function

Calling Sequence

coefmatrix ([eqn_1, ..., eqn_m], [x_1, ..., x_n])

Description

Returns the coefficient matrix for the variables x_1, ..., x_n of the system of linear equations eqn_1, ..., eqn_m.

(%i1) coefmatrix([2*x-(a-1)*y+5*b = 0, b*y+a*x = 3], [x,y]);
                                 [ 2  1 - a ]
(%o1)                            [          ]
                                 [ a    b   ]
coeff SciMax Toolbox cograd