atvalue SciMax Toolbox augmented_lagrangian_method

SciMax Toolbox >> augcoefmatrix

augcoefmatrix

Maxima Function

Calling Sequence

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

Description

Returns the augmented coefficient matrix for the variables x_1, ..., x_n of the system of linear equations eqn_1, ..., eqn_m. This is the coefficient matrix with a column adjoined for the constant terms in each equation (i.e., those terms not dependent upon x_1, ..., x_n).

(%i1) m: [2*x - (a - 1)*y = 5*b, c + b*y + a*x = 0]$
(%i2) augcoefmatrix (m, [x, y]);
                       [ 2  1 - a  - 5 b ]
(%o2)                  [                 ]
                       [ a    b      c   ]
atvalue SciMax Toolbox augmented_lagrangian_method