Array question



Hi,
Here is my problem;
I have a series of arrays with 0s and 1s. here is an example: (1, 0, 1, 1).
I need to parse through this series of arrays and extract the index of the
0s in the array.
Is there any quick way of doing this?
TIA,
Anjan

--
=============================
anjan purkayastha, phd
bioinformatics analyst
whitehead institute for biomedical research
nine cambridge center
cambridge, ma 02142

purkayas [at] wi [dot] mit [dot] edu
703.740.6939


Relevant Pages

  • Re: Array question
    ... ANJAN PURKAYASTHA wrote: ... I need to parse through this series of arrays and extract the index of the ...
    (perl.beginners)
  • extracting data from columns of html tables in bash
    ... I'd like to extract the data from one column of an html table, ... The html file I want to work with contains several tables, ... I'd like to end up with two arrays for each table. ...
    (comp.unix.shell)
  • execute_array and iterations....
    ... I don't want to parse the entire file before I start sending it to the DB. ... # Bind the arrays to the columns... ... complains that column 1's array is smaller than column 4's... ...
    (perl.dbi.users)
  • Re: Array question
    ... On Mon, Mar 30, 2009 at 2:20 PM, ANJAN PURKAYASTHA ... I need to parse through this series of arrays and extract the index of the ... for my $index (@arr) { ... nine cambridge center ...
    (perl.beginners)
  • Re: intersection of two sets
    ... sets(say two 1D arrays) in Fortran? ... i can write a small do-if construct to extract the common element but ... is there any function that can find out intersection of these two ...
    (comp.lang.fortran)