|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.matrix.RealContainer | +--drasys.or.matrix.Vect
Abstract base class for vectors.
References:
Matrix Computations (Johns Hopkins Studies in the Mathematical Sciences)
Gene H. Golub, Charles F. Van Loan (Contributor) / Paperback / Published 1996
Numerical Recipes in C : The Art of Scientific Computing
William H. Press, et al / Hardcover / Published 1993
Parallel Algorithms for Matrix Computations
K.A. Gallivan / Paperback / Published 1990
Fields inherited from class drasys.or.matrix.RealContainer |
_epsilon,
_globalEpsilon |
Constructor Summary | |
Vect()
|
|
Vect(double epsilon)
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
equals(VectorI vector)
Returns true if the vectors are numerically equal. |
void |
setElements(VectorI values)
Sets the value of the elements from the non-null values in 'values'. |
double |
sum()
Returns the sum of the elements in the vector. |
double |
sum(int begin)
Returns the sum of the elements in the subvector. |
double |
sumOfSquaredDifferences(double scaler)
Returns the sum the squared differences between 'scaler' and the elements in the vector. |
double |
sumOfSquaredDifferences(int begin,
double scaler)
Returns the sum the squared differences between 'scaler' and the elements in the subvector. |
double |
sumOfSquares()
Returns the sum of the squares of the elements in the vector. |
double |
sumOfSquares(int begin)
Returns the sum of the squares of the elements in the subvector. |
java.lang.String |
toString()
|
Methods inherited from class drasys.or.matrix.RealContainer |
equals,
getEpsilon,
getGlobalEpsilon,
setEpsilon,
setGlobalEpsilon |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Vect()
public Vect(double epsilon)
Method Detail |
public void setElements(VectorI values)
public boolean equals(java.lang.Object o)
public boolean equals(VectorI vector)
public double sum()
public double sumOfSquares()
public double sumOfSquaredDifferences(double scaler)
public double sum(int begin)
public double sumOfSquares(int begin)
public double sumOfSquaredDifferences(int begin, double scaler)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |