saaps.math
Class RowVector

java.lang.Object
  |
  +--saaps.math.RowVector
All Implemented Interfaces:
java.io.Serializable

public class RowVector
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  double[] element
           
(package private)  int numOfCols
           
 
Constructor Summary
RowVector(int i)
           
RowVector(RowVector rv)
           
 
Method Summary
 void add(RowVector rv)
           
 double getElement(int c)
           
 int getNumOfCols()
           
 void setElement(int c, double v)
           
 double times(ColVector cv)
           
 RowVector times(double v)
           
 RowVector times(RowVector rv)
           
 ColVector transpose()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

numOfCols

int numOfCols

element

double[] element
Constructor Detail

RowVector

public RowVector(int i)

RowVector

public RowVector(RowVector rv)
Method Detail

add

public void add(RowVector rv)

times

public double times(ColVector cv)

times

public RowVector times(RowVector rv)

times

public RowVector times(double v)

transpose

public ColVector transpose()

getElement

public double getElement(int c)

setElement

public void setElement(int c,
                       double v)

getNumOfCols

public int getNumOfCols()