|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.matrix.complex.ComplexContainer | +--drasys.or.matrix.complex.Matrix
Abstract base class for complex matrices.
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.complex.ComplexContainer |
_epsilon,
_globalEpsilon |
Constructor Summary | |
Matrix()
|
|
Matrix(double epsilon)
|
Method Summary | |
boolean |
equals(MatrixI matrix)
Returns true if the matrices are numerically equal. |
boolean |
equals(java.lang.Object o)
|
void |
setColumn(int column,
VectorI values)
Sets the value of the elements in a column. |
void |
setDiagonal(VectorI values)
Sets the value of the elements in the diagonal. |
void |
setElements(MatrixI values)
Sets the value of the elements from the non-null values in 'values'. |
void |
setRow(int row,
VectorI values)
Sets the value of the elements in a row. |
Complex |
sum()
Returns the sum of all of the elements in the sub-matrix. Computes sum(a[i][j]). Where: i = {0,...,(sizeOfRows-1)} j = {0,...,(sizeofColumns-1)} If 'results' is null then a new object will be created. |
Complex |
sum(int begin)
Returns the sum of all of the elements in the sub-matrix. Computes sum(a[i][j]). Where: i = {begin,...,(sizeOfRows-1)} j = {begin,...,(sizeofColumns-1)} If 'results' is null then a new object will be created. |
Complex |
sumOfSquaredDifferences(ComplexI scaler)
Returns the sum of the squared differences between the elements and a scaler. Computes sum((a[i][j]-scaler)^2). Where: i = {0,...,(sizeOfRows-1)} j = {0,...,(sizeofColumns-1)} If 'results' is null then a new object will be created. |
Complex |
sumOfSquaredDifferences(int begin,
ComplexI scaler)
Returns the sum of the squared differences between the elements and a scaler. Computes sum((a[i][j]-scaler)^2). Where: i = {begin,...,(sizeOfRows-1)} j = {begin,...,(sizeofColumns-1)} If 'results' is null then a new object will be created. |
Complex |
sumOfSquares()
Returns the sum of the squares of all of the elements in the sub-matrix. Computes sum(a[i][j]^2). Where: i = {0,...,(sizeOfRows-1)} j = {0,...,(sizeofColumns-1)} If 'results' is null then a new object will be created. |
Complex |
sumOfSquares(int begin)
Returns the sum of the squares of all of the elements in the sub-matrix. Computes sum(a[i][j]^2). Where: i = {begin,...,(sizeOfRows-1)} j = {begin,...,(sizeofColumns-1)} If 'results' is null then a new object will be created. |
java.lang.String |
toString()
|
Methods inherited from class drasys.or.matrix.complex.ComplexContainer |
equals,
equals,
getEpsilon,
getGlobalEpsilon,
setEpsilon,
setGlobalEpsilon |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Matrix()
public Matrix(double epsilon)
Method Detail |
public Complex sum()
public Complex sumOfSquares()
public Complex sumOfSquaredDifferences(ComplexI scaler)
public Complex sum(int begin)
public Complex sumOfSquares(int begin)
public Complex sumOfSquaredDifferences(int begin, ComplexI scaler)
public void setElements(MatrixI values)
public void setRow(int row, VectorI values)
public void setColumn(int column, VectorI values)
public void setDiagonal(VectorI values)
public boolean equals(java.lang.Object o)
public boolean equals(MatrixI matrix)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |