net.damf.funkson.matrix.opern
Class Elementary

java.lang.Object
  extended by net.damf.funkson.matrix.Matricks
      extended by net.damf.funkson.matrix.opern.Elementary
All Implemented Interfaces:
java.lang.Cloneable

public class Elementary
extends Matricks


Field Summary
 java.lang.reflect.Method ADD
           
private  ClassHandle clazzHandle
           
 java.lang.reflect.Method DIVIDE
           
 java.util.Vector internalOp
           
 java.lang.reflect.Method MULTIPLY
           
private  java.util.Vector oppositeOp
           
 java.lang.reflect.Method SUBTRACT
           
 java.lang.reflect.Method SWAP
           
 
Fields inherited from class net.damf.funkson.matrix.Matricks
cols, name, numbor2, rows
 
Constructor Summary
Elementary(Numbor[][] matrix)
           
 
Method Summary
private  void addMethods()
           
 void addToRow(int receiving, int row, Numbor toMultiply)
           
 void divideRowBy(int row, Numbor toMultiply)
           
 void multiplyRowBy(int row, Numbor toMultiply)
           
 void perform(Matricks matrix)
           
 void subtractFromRow(int receiving, int row, Numbor toMultiply)
           
 void swapRows(int row1, int row2)
           
 
Methods inherited from class net.damf.funkson.matrix.Matricks
clone, converToStandard, displayStep, get, get, getClone, getCols, getHalfStandard, getInverse, getName, getNameEq, getNumStrRay, getPlainStandard, getRows, getTranspose, invert, isSquare, set, setMatrix, setMatrix, setMatrix, setName, transpose
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

internalOp

public java.util.Vector internalOp

oppositeOp

private java.util.Vector oppositeOp

clazzHandle

private ClassHandle clazzHandle

SWAP

public java.lang.reflect.Method SWAP

ADD

public java.lang.reflect.Method ADD

SUBTRACT

public java.lang.reflect.Method SUBTRACT

MULTIPLY

public java.lang.reflect.Method MULTIPLY

DIVIDE

public java.lang.reflect.Method DIVIDE
Constructor Detail

Elementary

public Elementary(Numbor[][] matrix)
Method Detail

perform

public void perform(Matricks matrix)

swapRows

public void swapRows(int row1,
                     int row2)
Overrides:
swapRows in class Matricks

addToRow

public void addToRow(int receiving,
                     int row,
                     Numbor toMultiply)
Overrides:
addToRow in class Matricks

subtractFromRow

public void subtractFromRow(int receiving,
                            int row,
                            Numbor toMultiply)
Overrides:
subtractFromRow in class Matricks

multiplyRowBy

public void multiplyRowBy(int row,
                          Numbor toMultiply)
Overrides:
multiplyRowBy in class Matricks

divideRowBy

public void divideRowBy(int row,
                        Numbor toMultiply)
Overrides:
divideRowBy in class Matricks

addMethods

private final void addMethods()