Revised 'MOP' (Matrix OPeration): A function, which executes any algebraic 
operation or program on every element of an 1 or 2 dimensional array.
The improvement is a better error-trapping. My last mail had an error in 
the examples: I used the name PMEM instead of MOP. I hope, this will be the 
last correction :-)
 
By the way: I want to know how usefull is this programm to others. If you
            use this prg, please send me a short "I use MOP"-mail (Also 
            every kind of improvements, questions etc).
 
 
Die Programme mssen abgetippt werden.
 
 
usage:
======
 
2:                <array>
1:   <algebraic function>  or  <program>
MOP
 
 
2:        <name of array>
1:   <algebraic function>  or  <program>
MOP
 
 
1: 'MOP(<name of array>,<algebraic function>)'
EVAL
 
 
 
e.g.:
=====
 
2:         [[  1  2.3 ]
            [ -3  4.4
            [  1 -1.1 ]]
1:       'LOG(SQR(X))-3'
MOP
 
 
2:         [[  1  2.3 ]
            [ -3  4.4
            [  1 -1.1 ]]
1: << IF X 1 < THEN X DUP R->C ELSE X END >>
MOP
 
 
2:               '&DAT'
1:             'INV(X)'
MOP
 
 
2:               '&DAT'
1:          << X INV >>
MOP
 
 
1: 'MOP(MA,X^INV(3))'
EVAL
 
 
! The algebraic operation must have X as argument. I know, this sucks, but
! calling by reference like  'MOP(INV(<array>)*3-2)'  is not possible (or
! does anybody know a way ??)
! & := the Sigma-sign (SHIFT V)
 
 
The name 'MOP' was created by Schrulli B.  thanx ;-)
 
 
+------------------------------------------------------------------+
! true name: Ulli Horlacher *     e-mail: framstag@dtupev5a.bitnet !
! nick name: Framstag       *             s_horlac@dulruu51.bitnet !
!      or    Fraturday      *             50177::s_horlacher       !
!                           * snail-mail: Ulli Horlacher           !
!                           *             Landfriedbuehl 5         !
! Universitaet Ulm          *             D-7900 Ulm               !
! West-Germany              *             West-Germany             !
!******************************************************************!
!                 "Murphy was an optimist"                         !
+------------------------------------------------------------------+
