Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

$%MTXADD^MATH

Draft MDC Standard

7.1.6.5.37 $%MTXADD^MATH

MTXADD^MATH : BOOLEAN ( .A : MATRIX , .B : MATRIX , .R : MATRIX , ROWS : INTEGER , COLS : INTEGER )

$%MTXADD^MATH adds matrix B[ROWS,COLS] to 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 $%MTXADD^MATH sample code.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

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 13-Sep-2014, 17:04:44.

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