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
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
numOfCols
int numOfCols
element
double[] element
RowVector
public RowVector(int i)
RowVector
public RowVector(RowVector rv)
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()