org.jmatrices.dbl
Class MatrixVectorImpl

java.lang.Object
  extended byorg.jmatrices.dbl.MatrixVectorImpl
All Implemented Interfaces:
MatrixVector

public class MatrixVectorImpl
extends java.lang.Object
implements MatrixVector

MatrixVectorImpl

todo - open thought!

Author: purangp

Date: 07.03.2004 Time: 21:57:18


Constructor Summary
MatrixVectorImpl()
           
 
Method Summary
 int cols()
           
 double get(int row, int col)
           
 Vector getColumnVector(int col)
           
 Vector getRowVector(int row)
           
 int rows()
           
 void set(int row, int col, double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixVectorImpl

public MatrixVectorImpl()
Method Detail

rows

public int rows()
Specified by:
rows in interface MatrixVector

cols

public int cols()
Specified by:
cols in interface MatrixVector

get

public double get(int row,
                  int col)
Specified by:
get in interface MatrixVector

set

public void set(int row,
                int col,
                double value)
Specified by:
set in interface MatrixVector

getRowVector

public Vector getRowVector(int row)
Specified by:
getRowVector in interface MatrixVector

getColumnVector

public Vector getColumnVector(int col)
Specified by:
getColumnVector in interface MatrixVector