Newsgroups: comp.lang.apl
Path: watmath!watserv1!torn!utcsri!rpi!gatech!gsusgi1.gsu.edu!gsusgi1.gsu.edu!qmdbms
From: qmdbms@gsusgi2.gsu.edu (Brian Schott)
Subject: J gerund question
Message-ID: <qmdbms.711661630@gsusgi1.gsu.edu>
Organization: Georgia State University
Date: Mon, 20 Jul 1992 19:47:10 GMT
Lines: 23

Having partially absorbed Bernecky and Hui's "Gerunds and Representations"
from APL 91, and having used abut and agenda, I am having trouble with
a problem which seems similar, but enough different to have me stumped.

I have an array of constants shaped 15 3 and I have 3 monadic verbs
which I want to apply to each item of the array.  I want the result
to be a 15 3 shaped array.  For example if the verbs were +, -, and *
then I would expect to make a gerund of them such as + ` - ` * .
Then if the array is a =. i. 15 3, I want the result to be
  0  _1  1
  3  _4  1
  6  _7  1
  ...

There must be an easy way to do this, but I am missing it.
Can someone tell me how to do this, please?


-- 
Brian Schott/Decision Sciences Dept.             qmdbms@gsusgi2.gsu.edu
College of Business Administration                         404-651-4070
Georgia State University                  interests: approx. reasoning,
Atlanta, Georgia USA 30303-3083     (B=)       decision support systems
