mpi.fruitfly.math.datastructures
Class FloatArray2D

java.lang.Object
  extended by mpi.fruitfly.math.datastructures.FloatArray
      extended by mpi.fruitfly.math.datastructures.FloatArray2D

public class FloatArray2D
extends FloatArray

Title: PhaseCorrelation2D

Description:

Copyright: Copyright (c) 2007

Company:

License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Field Summary
 int height
           
 int width
           
 
Fields inherited from class mpi.fruitfly.math.datastructures.FloatArray
data
 
Constructor Summary
FloatArray2D(float[] data, int width, int height)
           
FloatArray2D(int width, int height)
           
 
Method Summary
 FloatArray2D clone()
           
 float get(int x, int y)
           
 float getMirror(int x, int y)
           
 int getPos(int x, int y)
           
 float getZero(int x, int y)
           
 void set(float value, int x, int y)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

public final int width

height

public final int height
Constructor Detail

FloatArray2D

public FloatArray2D(int width,
                    int height)

FloatArray2D

public FloatArray2D(float[] data,
                    int width,
                    int height)
Method Detail

clone

public FloatArray2D clone()
Specified by:
clone in class FloatArray

getPos

public final int getPos(int x,
                        int y)

get

public final float get(int x,
                       int y)

getMirror

public final float getMirror(int x,
                             int y)

getZero

public final float getZero(int x,
                           int y)

set

public final void set(float value,
                      int x,
                      int y)