|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectNonNegativeMatrix
This class implements algorithms on nonnegative matrices. The matrices are square matrices with real coefficients.
| Constructor Summary | |
NonNegativeMatrix(int n)
Creates an n times n matrix. |
|
| Method Summary | |
NonNegativeVector |
approximateEigenvector(NonNegativeVector x,
float ra)
Returns a vector y such that My >= ra y
iterating the transformation y = (1 / r(y)) M y
starting with y = x with
r(y) = min((My)_i / y_i) the Wielandt function. |
float |
dominantEigenvalue(NonNegativeVector x,
float epsilon)
Returns an approximate value of rho_M, the
maximal eigenvalue of the matrix M. |
static NonNegativeMatrix |
golden()
The classical 2 by 2
matrix of the golden mean system. |
NonNegativeVector |
leftAction(NonNegativeVector x)
Returns the result of the action of the matrix on the comlumn vector x. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NonNegativeMatrix(int n)
n times n matrix.
| Method Detail |
public NonNegativeVector leftAction(NonNegativeVector x)
x.
public float dominantEigenvalue(NonNegativeVector x,
float epsilon)
rho_M, the
maximal eigenvalue of the matrix M. The
matrix M is supposed to be primitive.
x - a positive vector
public NonNegativeVector approximateEigenvector(NonNegativeVector x,
float ra)
y such that My >= ra y
iterating the transformation y = (1 / r(y)) M y
starting with y = x with
r(y) = min((My)_i / y_i) the Wielandt function.
public static NonNegativeMatrix golden()
2 by 2
matrix of the golden mean system.
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||