asu.seismo.signals.oned
Class arraySelector1d

java.lang.Object
  extended by asu.seismo.signals.oned.arraySelector1d

public class arraySelector1d
extends java.lang.Object

This class defines an index map.


Field Summary
 int length
           
 int[] map
          Index map
 
Constructor Summary
arraySelector1d(arraySelector1d s)
          Copy constructor
arraySelector1d(int l)
          Map=0:(l-1)
arraySelector1d(int start, int stop)
          Construct a map with entries form start to stop eg start=1; stop =3 : map={1,2,3}
arraySelector1d(int start, int stop, int step)
          Construct a map form start to stop with steps of size step eg start=1; stop=10; step=2: map={1,3,5,7,9}
 
Method Summary
 void reverse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public int[] map
Index map


length

public int length
Constructor Detail

arraySelector1d

public arraySelector1d(arraySelector1d s)
Copy constructor


arraySelector1d

public arraySelector1d(int start,
                       int stop)
Construct a map with entries form start to stop eg start=1; stop =3 : map={1,2,3}


arraySelector1d

public arraySelector1d(int start,
                       int stop,
                       int step)
Construct a map form start to stop with steps of size step eg start=1; stop=10; step=2: map={1,3,5,7,9}


arraySelector1d

public arraySelector1d(int l)
Map=0:(l-1)

Method Detail

reverse

public void reverse()