☜ | $%MTXSUB^MATHDraft MDC Standard | ☞ |
MTXSUB^MATH : BOOLEAN ( .A : MATRIX , .B : MATRIX , .R : MATRIX , ROWS : INTEGER , COLS : INTEGER)
$%MTXSUB^MATH subtracts matrix B[ROWS,COLS] from matrix A[ROWS,COLS], and stores the result into matrix R[ROWS,COLS]. It is permissible that the actual parameter for matrix R is equal to either of the actual parameters for matrices A and B. The return value is 1 if both matrices A and B exist; or 0 if a) there are no defined values in one or both of the matrices A and B, or b) when ROWS < 1 or COLS < 1.
Click here for $%MTXSUB^MATH sample code.
Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.
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)