jcolibri.extensions.textual.IE.common.crn.matrix
Class OneByteMatrix

java.lang.Object
  extended by jcolibri.extensions.textual.IE.common.crn.matrix.OneByteMatrix
All Implemented Interfaces:
Matrix

public class OneByteMatrix
extends java.lang.Object
implements Matrix

Version:
1.0
Author:
Juan A. Recio-Garcia

Constructor Summary
protected OneByteMatrix()
           
  OneByteMatrix(int rows, int columns)
           
 
Method Summary
 Matrix copy()
           
 int getColumns()
           
 Matrix getDeepTraspose()
           
 int getRows()
           
 Matrix getShallowTraspose()
           
 float getValue(int row, int column)
           
static void main(java.lang.String[] args)
           
 Matrix multiply(Matrix other)
           
 float multiply(Matrix other, int thisRow, int otherColumn)
           
 void setValue(int row, int column, float value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneByteMatrix

public OneByteMatrix(int rows,
                     int columns)

OneByteMatrix

protected OneByteMatrix()
Method Detail

getDeepTraspose

public Matrix getDeepTraspose()
Specified by:
getDeepTraspose in interface Matrix

getShallowTraspose

public Matrix getShallowTraspose()
Specified by:
getShallowTraspose in interface Matrix

getValue

public float getValue(int row,
                      int column)
Specified by:
getValue in interface Matrix

multiply

public Matrix multiply(Matrix other)
Specified by:
multiply in interface Matrix

setValue

public void setValue(int row,
                     int column,
                     float value)
Specified by:
setValue in interface Matrix

copy

public Matrix copy()
Specified by:
copy in interface Matrix

getColumns

public int getColumns()
Specified by:
getColumns in interface Matrix

getRows

public int getRows()
Specified by:
getRows in interface Matrix

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

multiply

public float multiply(Matrix other,
                      int thisRow,
                      int otherColumn)
Specified by:
multiply in interface Matrix

main

public static void main(java.lang.String[] args)