Newsgroups: comp.lang.apl
Path: watmath!watserv1!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!pviton@magnus.acs.ohio-state.edu
From: P A Viton <pviton@magnus.acs.ohio-state.edu>
Subject: APL2 question
Message-ID: <9203152248.AA24898@bottom.magnus.acs.ohio-state.edu>
Sender: chohan@magnus.acs.ohio-state.edu (Harpal Chohan)
Organization: The Ohio State University
Date: Sun, 15 Mar 1992 22:48:36 GMT
X-Mailer: ELM [version 2.3 PL11]
Lines: 20


Suppose I have an array, made up of various length column vectors.  Is there
a non-looping way to find the  vector of values common to all?  For example,
 given

        1   2   7
        2   4   1
        3   5   2
        7   6
            1

The result should be  1 2  since  each column contains 1 and 2, and no other 
element of the matrix is present in each column.  Any ideas?  (No J solutions, 
please!)


-- 
Phil Viton
City and Regional Planning (2-4075)
PViton@magnus.acs.ohio-state.edu
