moagg.types.math
Class Matrix

java.lang.Object
  extended by moagg.types.math.Matrix

public class Matrix
extends java.lang.Object


Constructor Summary
Matrix(int xSize, int ySize)
           
Matrix(int xSize, int ySize, double initialValue)
           
 
Method Summary
 void add(int x, int y, double value)
           
 void add(Rectangle r, double value)
           
 double get(int x, int y)
           
 int getXSize()
           
 int getYSize()
           
 void set(int x, int y, double value)
           
 void set(Rectangle r, double value)
           
 void setAll(double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix

public Matrix(int xSize,
              int ySize)

Matrix

public Matrix(int xSize,
              int ySize,
              double initialValue)
Method Detail

getXSize

public int getXSize()

getYSize

public int getYSize()

set

public void set(int x,
                int y,
                double value)

get

public double get(int x,
                  int y)

set

public void set(Rectangle r,
                double value)

setAll

public void setAll(double value)

add

public void add(int x,
                int y,
                double value)

add

public void add(Rectangle r,
                double value)


Copyright © 2008. All Rights Reserved.