|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.math.matrix.SubMatrix.SubMatrixIteratorImpl
protected class SubMatrix.SubMatrixIteratorImpl
| Field Summary | |
|---|---|
protected int[] |
cpt
|
protected int[] |
last
|
protected SubMatrix |
subMatrix
|
| Constructor Summary | |
|---|---|
SubMatrix.SubMatrixIteratorImpl(SubMatrix subMatrix)
|
|
| Method Summary | |
|---|---|
int[] |
getCoordinates()
Retourne les coordonnés de l'élément. |
java.lang.Object[] |
getSemanticsCoordinates()
Retourne les coordonnés de l'élément, en sémantique. |
double |
getValue()
Retourne la valeur courant pointé par l'iterator. |
boolean |
hasNext()
Retourne vrai s'il existe un suivant. |
boolean |
next()
Passe à l'élément suivant. |
void |
setValue(double value)
Modifie la valeur courant pointé par l'iterator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SubMatrix subMatrix
protected int[] cpt
protected int[] last
| Constructor Detail |
|---|
public SubMatrix.SubMatrixIteratorImpl(SubMatrix subMatrix)
| Method Detail |
|---|
public boolean hasNext()
BasicMatrixIterator
hasNext in interface BasicMatrixIteratorpublic boolean next()
BasicMatrixIterator
next in interface BasicMatrixIteratorpublic int[] getCoordinates()
BasicMatrixIterator
getCoordinates in interface BasicMatrixIteratorpublic java.lang.Object[] getSemanticsCoordinates()
MatrixIterator
getSemanticsCoordinates in interface MatrixIteratorpublic double getValue()
BasicMatrixIterator
getValue in interface BasicMatrixIteratorpublic void setValue(double value)
BasicMatrixIterator
setValue in interface BasicMatrixIteratorvalue - new value to set to current element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||