Library Functions -- $%MTXINV^MATH

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

This function solves a special matrix equation: [A] * [Result] = [unit matrix],

Assuming that matrix DEMO contains:

 1    2    0    0
 3    4    0    0
 0    0   -1    2
 0    0    3    1

the function call SET X=$%MTXINV^MATH(.DEMO,.INV,4) will return the value 14 in X and as matrix INV:

-1.99999  0.99999   0        0
 1.49999  0.49999   0        0
 0        0         0.14285  0.28571
 0        0         0.42857  0.14285

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 to view or download the code for this function. Click here to view or download the code for all M[UMPS] Library Functions.


This document is © Ed de Moel, 1995-2005.
It is part of a book by Ed de Moel that is published under the title "M[UMPS] by Example" (ISBN 0-918118-42-5).
Printed copies of the book are no longer available.

This document describes the various library functions that are defined for the M[UMPS] programming language.

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

In this document, information is included that will appear in future standards.
The MDC cannot guarantee that these 'next' standards will indeed appear.