☜ | $%MTXCOFDraft MDC Standard | ☞ |
MTXCOF(A,I,K,N) ; ; Compute cofactor for element [i,k] ; in matrix A[N,N] New T,R,C,RR,CC Set CC=0 For C=1:1:N Do:C'=K . Set CC=CC+1,RR=0 . For R=1:1:N Set:R'=I RR=RR+1,T(RR,CC)=$Get(A(R,C)) . Quit Quit $%MTXDET^MATH(.T,N–1)
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 16-Nov-2023, 16:51:33.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)