pipe.modules.matrixes
Class PNMLMatrixes.Matrix

java.lang.Object
  |
  +--pipe.modules.matrixes.PNMLMatrixes.Matrix
Enclosing class:
PNMLMatrixes

public class PNMLMatrixes.Matrix
extends java.lang.Object


Field Summary
private  int[][] matrix
           
static int OUT_OF_BOUNDS_ERROR
           
 
Constructor Summary
PNMLMatrixes.Matrix(int[][] matrix)
           
PNMLMatrixes.Matrix(int i, int j)
           
 
Method Summary
 void add(PNMLMatrixes.Matrix matrixInput)
           
 int get(int i, int j)
           
 int[][] getIntArray()
           
 void set(int i, int j, int value)
           
 void setToZero()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

matrix

private int[][] matrix

OUT_OF_BOUNDS_ERROR

public static final int OUT_OF_BOUNDS_ERROR
Constructor Detail

PNMLMatrixes.Matrix

public PNMLMatrixes.Matrix(int i,
                           int j)

PNMLMatrixes.Matrix

public PNMLMatrixes.Matrix(int[][] matrix)
Method Detail

setToZero

public void setToZero()

add

public void add(PNMLMatrixes.Matrix matrixInput)

set

public void set(int i,
                int j,
                int value)

get

public int get(int i,
               int j)

getIntArray

public int[][] getIntArray()