## $%MTXEQU^MATH## M[UMPS] by Example |

Approved for inclusion in a future M[UMPS] language standard as part of the library for Matrix Mathematics.

This function either solves a matrix equation and returns the value of the determinant of the matrix, or returns an empty value to indicate that no matrix can be computed to solve the equation.

The matrix equation to be resolved is [A] * [Result] = [B].

Assuming that the matrixes `A` and `B` contain:

A B 4 2 3 1 2 1 0 1 2 3 4 1 4 0.5 3 4 1 2 2 3 0 2 1 3 4 0 0 1

then the function call `Set
X=$%MTXEQU^MATH(.A,.B,.R,4,3)` would return the value
`–60` in `X` and return as matrix `R`:

0.21666 –1.85 0.20833 0.78333 2.15 0.29166 0.61666 1.65 0.20833 0.55 0.85 0.375

The MDC has approved code to approximate the return value of this function.
Implementors are encouraged to provide more accurate and efficient code).

Click here for $%MTXEQU^MATH sample code to
view or download the code for this function.

Click here for AllFunctions to view
or download the code for all M[UMPS] Library Functions.

Copyright © Standard Documents; 1977-2017 MUMPS Development Committee;

Copyright © Examples: 1995-2017 Ed de Moel;

Copyright © Annotations: 2003-2017 Jacquard Systems Research.

*The information in this page is
NOT authoritative and subject to be modified
at any moment.Please consult the
appropriate (draft) language standard for an
authoritative definition.*

*Some specifications are "approved
for inclusion in a future standard". Note
that the MUMPS Development Committee cannot
guarantee that such future standards will
indeed be published.*

This page most recently updated on 29-Nov-2011, 20:00:18 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)